SocketTools .NET Edition

SocketWrench.CertificateStatus Property

Gets a value which indicates the status of the security certificate returned by the remote host.

[Visual Basic]
Public ReadOnly Property CertificateStatus As SecurityCertificate
[C#]
public SocketWrench.SecurityCertificate CertificateStatus {get;}

Property Value

A SecurityCertificate enumeration value which specifies the status of the certificate.

Remarks

The CertificateStatus property is used to determine the status of the security certificate returned by the remote host when a secure connection has been established. This property value should be checked after the connection to the server has completed, but prior to beginning a transaction.

Note that if the certificate cannot be validated, the secure connection will not be automatically terminated. It is the responsibility of your application to determine the best course of action to take if the certificate is invalid. Even if the security certificate cannot be validated, the data exchanged with the remote host will still be encrypted.

See Also

SocketWrench Class | SocketTools Namespace