Skip to content

Check Method ​

Definition ​

  • Namespace: JASE.Network
  • Assembly: JASE.Network.dll

CertificateCheck Check(string host, SslProtocols protocols, int port = null, int connectionTimeout = null) ​

csharp
CertificateCheck Check(string host, SslProtocols protocols, int port = null, int connectionTimeout = null)

Performs a certificate check on the specified host and port using the specified SSL protocols, and returns a CertificateCheck object containing the results of the check.

Parameters ​

NameDescription
connectionTimeoutThe connection timeout in seconds. Default is 10.
hostThe hostname or IP address to check.
portThe port to use in the check. Default is 443.
protocolsThe SSL protocols to use in the check.

Returns ​

A CertificateCheck object containing the results of the certificate check.