Verifies the validity of the certificate, including its compliance with the specified criteria.

Namespace:  Rebex.Security.Certificates
Assembly:  Rebex.Common (in Rebex.Common.dll)

Syntax

Visual Basic
Public Function Validate ( _
	serverName As String, _
	options As ValidationOptions _
) As ValidationResult
C#
public ValidationResult Validate(
	string serverName,
	ValidationOptions options
)

Parameters

serverName
Type: System..::..String
The name of the server.
options
Type: Rebex.Security.Certificates..::..ValidationOptions
Validation options.

Return Value

Validation result.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also