Reference.DigestValue Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the digest value of the current Reference.

Namespace:   System.Security.Cryptography.Xml
Assembly:  System.Security (in System.Security.dll)

public byte[] DigestValue { get; set; }

Property Value

Type: System.Byte[]

The digest value of the current Reference.

The DigestValue property uses an array of bytes to represent the <DigestValue> element of an XML digital signature.

The DigestValue property contains the Base 64 encoded value of the digest of the object described by the Uri property.

The DigestValue property is automatically populated with the appropriate value whenever you make a call to ComputeSignature.

For more information about XML digital signatures, see the W3C specification at

.NET Framework
Available since 1.1
Return to top