ECDiffieHellmanCngPublicKey.ToXmlString Method ()


Serializes the ECDiffieHellmanCngPublicKey public key to an XML string in RFC 4050 format.

Namespace:   System.Security.Cryptography
Assembly:  System.Core (in System.Core.dll)

public override string ToXmlString()

Return Value

Type: System.String

An XML string that contains the serialized ECDiffieHellmanCngPublicKey public key.

See ECKeyXmlFormat.Rfc4050for information about the XML format that this method uses.

.NET Framework
Available since 3.5
Return to top