ECDiffieHellmanPublicKey.ToXmlString Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Serializes the ECDiffieHellmanPublicKey public key to an XML string.

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

public virtual string ToXmlString()

Return Value

Type: System.String

An XML string that contains the serialized Elliptic Curve Diffie-Hellman (ECDH) public key.

.NET Framework
Available since 3.5
Return to top