AsymmetricAlgorithm.ToXmlString Method

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)


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


  • 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


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

See Also


AsymmetricAlgorithm Class

System.Security.Cryptography Namespace

Other Resources

Cryptographic Services in Silverlight