'Declaration
Property AcceptAnyCertificate As Boolean
'Usage
Dim instance As _CertificateAcceptancePolicy Dim value As Boolean instance.AcceptAnyCertificate = value value = instance.AcceptAnyCertificate
bool AcceptAnyCertificate {get; set;}
'Declaration
Property AcceptAnyCertificate As Boolean
'Usage
Dim instance As _CertificateAcceptancePolicy Dim value As Boolean instance.AcceptAnyCertificate = value value = instance.AcceptAnyCertificate
bool AcceptAnyCertificate {get; set;}
When this property is true
, it effectively bypasses an important security feature. Use this value only for testing and development purposes, or if your application does not require the certificate check.
This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.