Converts an X509Certificate or X509Certificate2 to a Certificate.

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

Syntax

Visual Basic
Public Shared Widening Operator CType ( _
	certificate As X509Certificate _
) As Certificate
C#
public static implicit operator Certificate (
	X509Certificate certificate
)

Parameters

certificate
Type: System.Security.Cryptography.X509Certificates..::..X509Certificate
An instance of X509Certificate or X509Certificate2.

Return Value

A Certificate.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also