Determines whether any certificate will be accepted, even if a certificate validation error occurs.
Syntax
'Declaration
Property AcceptAnyCertificate As Boolean
'Usage
Dim instance As _UACertificateAcceptancePolicy
Dim value As Boolean
instance.AcceptAnyCertificate = value
value = instance.AcceptAnyCertificate
bool AcceptAnyCertificate {get; set;}
property bool AcceptAnyCertificate {
bool get();
void set ( bool value);
}
Property Value
The default value of this property is False
.
Requirements
Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows
See Also