ECDiffieHellmanPublicKey.ToXmlString Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Serializes the ECDiffieHellmanPublicKey public key to an XML string.
public:
abstract System::String ^ ToXmlString();
public:
virtual System::String ^ ToXmlString();
public abstract string ToXmlString();
public virtual string ToXmlString();
abstract member ToXmlString : unit -> string
abstract member ToXmlString : unit -> string
override this.ToXmlString : unit -> string
Public MustOverride Function ToXmlString () As String
Public Overridable Function ToXmlString () As String
Returns
An XML string that contains the serialized Elliptic Curve Diffie-Hellman (ECDH) public key.
Exceptions
.NET Core and .NET 5+: In all cases.