| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As New OnNotifyUntrustedCertificate(AddressOf HandlerMethod) | |
| C# | |
|---|---|
public delegate int OnNotifyUntrustedCertificate( string subjectName ) | |
Parameters
- subjectName
- The certisubject name
Return Value
Return 1 to accept the certificate permanently0 to accept the certificate for this instance
-1 to reject the certificate
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x