Share via


X509Certificate.ToString Method (Boolean)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Returns a string representation of the current X509Certificate object, with extra information, if specified.

Namespace:  System.Security.Cryptography.X509Certificates
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
<SecuritySafeCriticalAttribute> _
Public Overridable Function ToString ( _
    fVerbose As Boolean _
) As String
[SecuritySafeCriticalAttribute]
public virtual string ToString(
    bool fVerbose
)

Parameters

  • fVerbose
    Type: System.Boolean
    true to produce the verbose form of the string representation; otherwise, false.

Return Value

Type: System.String
A string representation of the current X509Certificate object.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.