Appearance
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
| Name | Description |
|---|---|
connectionTimeout | The connection timeout in seconds. Default is 10. |
host | The hostname or IP address to check. |
port | The port to use in the check. Default is 443. |
protocols | The SSL protocols to use in the check. |
Returns
A CertificateCheck object containing the results of the certificate check.