Appearance
IsValidForHost Method
Definition
- Namespace:
JASE.Network - Assembly:
JASE.Network.dll
bool IsValidForHost(string hostname)
csharp
bool IsValidForHost(string hostname)Checks if the certificate is valid for the specified target hostname.
Parameters
| Name | Description |
|---|---|
hostname | The target hostname to validate against (e.g., "expired.badssl.com"). |
Returns
True if the certificate is valid for the hostname; otherwise, false.