ECDiffieHellmanPublicKey.ToXmlString Yöntem

Tanım

Dikkat

ToXmlString and FromXmlString have no implementation for ECC types, and are obsolete. Use a standard import and export format such as ExportSubjectPublicKeyInfo or ImportSubjectPublicKeyInfo for public keys and ExportPkcs8PrivateKey or ImportPkcs8PrivateKey for private keys.

Ortak anahtarı bir XML dizesine serileştirir ECDiffieHellmanPublicKey .

public:
 virtual System::String ^ ToXmlString();
public:
 abstract System::String ^ ToXmlString();
public virtual string ToXmlString ();
[System.Obsolete("ToXmlString and FromXmlString have no implementation for ECC types, and are obsolete. Use a standard import and export format such as ExportSubjectPublicKeyInfo or ImportSubjectPublicKeyInfo for public keys and ExportPkcs8PrivateKey or ImportPkcs8PrivateKey for private keys.", DiagnosticId="SYSLIB0042", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public virtual string ToXmlString ();
public abstract string ToXmlString ();
abstract member ToXmlString : unit -> string
override this.ToXmlString : unit -> string
[<System.Obsolete("ToXmlString and FromXmlString have no implementation for ECC types, and are obsolete. Use a standard import and export format such as ExportSubjectPublicKeyInfo or ImportSubjectPublicKeyInfo for public keys and ExportPkcs8PrivateKey or ImportPkcs8PrivateKey for private keys.", DiagnosticId="SYSLIB0042", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
abstract member ToXmlString : unit -> string
override this.ToXmlString : unit -> string
abstract member ToXmlString : unit -> string
Public Overridable Function ToXmlString () As String
Public MustOverride Function ToXmlString () As String

Döndürülenler

Seri hale getirilmiş Elips Eğrisi Diffie-Hellman (ECDH) ortak anahtarını içeren bir XML dizesi.

Öznitelikler

Özel durumlar

.NET Core ve .NET 5+: Her durumda.

Şunlara uygulanır