AsymmetricAlgorithm.SignatureAlgorithm Property

Definition

When implemented in a derived class, gets the name of the signature algorithm. Otherwise, always throws a NotImplementedException.

public:
 abstract property System::String ^ SignatureAlgorithm { System::String ^ get(); };
public abstract string SignatureAlgorithm { get; }
member this.SignatureAlgorithm : string
Public MustOverride ReadOnly Property SignatureAlgorithm As String

Property Value

The name of the signature algorithm.

Examples

The following code example demonstrates how to override the SignatureAlgorithm property to return the name of the signature algorithm. This code example is part of a larger example provided for the AsymmetricAlgorithm class.

public:
    property String^ SignatureAlgorithm
    {
        virtual String^ get() override
        {
            return "http://www.w3.org/2000/09/xmldsig#rsa-sha1";
        }
    }
public override string SignatureAlgorithm 
{
    get {return "http://www.w3.org/2000/09/xmldsig#rsa-sha1";}
}
Public Overrides ReadOnly Property SignatureAlgorithm() As String
    Get
        Return "http://www.w3.org/2000/09/xmldsig#rsa-sha1"
    End Get
End Property

Applies to

See also