Visual Basic (Declaration) | |
---|---|
Public Delegate Function NotifyUntrustedCertificate( _ ByVal subjectName As String _ ) As Integer |
C# | |
---|---|
public delegate int NotifyUntrustedCertificate( string subjectName ) |
Parameters
- subjectName
- Subject name of the invalid server certificate
Return Value
Action code: 0=Accept the certificate for this session, 1=Accept permanently, -1=Reject the certificateTarget Platforms: Windows 7/8/10, Windows Server 2008/2012/2016, .NET 4.x