System.Security.Cryptography.X509Certificates.X500DistinguishedName.Format Method

Returns a formatted version of an X500 distinguished name for printing or for output to a text window or to a console.

Syntax

public override string Format (bool multiLine)

Parameters

multiLine
true if the return string should contain carriage returns; otherwise, false.

Returns

A formatted string that represents the X500 distinguished name.

Remarks

Use this method to print Abstract Syntax Notation number One (ASN.1)-encoded data or output the information to a text box. Use the multiLine parameter to control the layout of the output.

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