AsymmetricAlgorithm.KeyExchangeAlgorithm Property
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.
When overridden in a derived class, gets the name of the key exchange algorithm. Otherwise, throws an NotImplementedException.
public:
virtual property System::String ^ KeyExchangeAlgorithm { System::String ^ get(); };
public:
abstract property System::String ^ KeyExchangeAlgorithm { System::String ^ get(); };
public virtual string? KeyExchangeAlgorithm { get; }
public virtual string KeyExchangeAlgorithm { get; }
public abstract string KeyExchangeAlgorithm { get; }
member this.KeyExchangeAlgorithm : string
Public Overridable ReadOnly Property KeyExchangeAlgorithm As String
Public MustOverride ReadOnly Property KeyExchangeAlgorithm As String
Property Value
The name of the key exchange algorithm.
Examples
The following code example demonstrates how to override the KeyExchangeAlgorithm property to return the name for the key exchange algorithm. This code example is part of a larger example provided for the AsymmetricAlgorithm class.
public:
property String^ KeyExchangeAlgorithm
{
virtual String^ get() override
{
return "RSA-PKCS1-KeyEx";
}
}
public override string KeyExchangeAlgorithm
{
get {return "RSA-PKCS1-KeyEx";}
}
Public Overrides ReadOnly Property KeyExchangeAlgorithm() As String
Get
Return "RSA-PKCS1-KeyEx"
End Get
End Property
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.