SignedXml.SignatureMethod 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.

Gets the signature method of the current SignedXml object.

C#
public string? SignatureMethod { get; }
C#
public string SignatureMethod { get; }

Property Value

The signature method of the current SignedXml object.

Remarks

The SignatureMethod property represents the <SignatureMethod> element of an XML digital signature using a Uniform Resource Identifier (URI) string contained within the property. The <SignatureMethod> element is a subelement of the <SignedInfo> element.

Use the SignatureMethod property to retrieve the <SignatureMethod> URI used by the SignedXml object. This property is read only. For more information about programmatically specifying a URI for the <SignatureMethod> element, see the SignatureMethod property.

For more information about the <SignatureMethod> element, see the XMLDSIG specification.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10