Determines whether the interactive user can be prompted to and accept a server certificate that has failed other validation checks.
Syntax
'Declaration
Property AllowUserAcceptCertificate As Boolean
'Usage
Dim instance As _UACertificateAcceptancePolicy
Dim value As Boolean
instance.AllowUserAcceptCertificate = value
value = instance.AllowUserAcceptCertificate
bool AllowUserAcceptCertificate {get; set;}
property bool AllowUserAcceptCertificate {
bool get();
void set ( bool value);
}
Property Value
If set to
false
(the default), no dialogs will be displayed, and the invalid certificate will be rejected.
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