ECDiffieHellmanCngPublicKey.ToXmlString 方法

定义

ECDiffieHellmanCngPublicKey 公钥序列化为 RFC 4050 格式的 XML 字符。Serializes the ECDiffieHellmanCngPublicKey public key to an XML string in RFC 4050 format.

public:
 override System::String ^ ToXmlString();
public override string ToXmlString ();
override this.ToXmlString : unit -> string
Public Overrides Function ToXmlString () As String

返回

String

一个包含已序列化的 ECDiffieHellmanCngPublicKey 公钥的 XML 字符串。An XML string that contains the serialized ECDiffieHellmanCngPublicKey public key.

注解

有关 ECKeyXmlFormat.Rfc4050 此方法使用的 XML 格式的信息,请参阅。See ECKeyXmlFormat.Rfc4050 for information about the XML format that this method uses.

适用于