Skip to content

ScanAsync Method ​

Definition ​

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

Task<CertificateScanResult> ScanAsync(string host, SslProtocols protocols, int start = null, int end = null, int connectionTimeout = null, int maxParallelism = null) ​

csharp
Task<CertificateScanResult> ScanAsync(string host, SslProtocols protocols, int start = null, int end = null, int connectionTimeout = null, int maxParallelism = null)

Scans the specified host for SSL certificates using the specified protocol and ports.

Parameters ​

NameDescription
connectionTimeoutThe time in milliseconds to wait for a connection.
endThe ending port to scan.
hostThe host to scan for SSL certificates.
maxParallelismMaximum number of simultaneous scans
protocolsThe SSL protocol to use.
startThe starting port to scan.

Returns ​

A CertificateScanResult object containing the results of the certificate scan.