System.Security.Cryptography.X509Certificates.X500DistinguishedName.Decode Method

Decodes a distinguished name using the characteristics specified by the flag parameter.

Syntax

public string Decode (X500DistinguishedNameFlags flag)

Parameters

flag
A bitwise combination of the enumeration values that specify the characteristics of the distinguished name.

Returns

The decoded distinguished name.

Remarks

This method decodes the ASN encoded distinguished name into a string value.

Requirements

Namespace: System.Security.Cryptography.X509Certificates
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0