Partager via


AsymmetricAlgorithm.ToXmlString Method

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

When overridden in a derived class, creates and returns an XML string representation of the current AsymmetricAlgorithm object.

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

Syntax

'Declaration
Public MustOverride Function ToXmlString ( _
    includePrivateParameters As Boolean _
) As String
public abstract string ToXmlString(
    bool includePrivateParameters
)

Parameters

  • includePrivateParameters
    Type: System.Boolean
    true to include private parameters; otherwise, false.

Return Value

Type: System.String
An XML string encoding of the current AsymmetricAlgorithm object.

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

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