AssemblyHash Struct

Definition

Warning

This API is now obsolete.

Represents a hash of an assembly manifest's contents.

public value class AssemblyHash : ICloneable
[System.Obsolete]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Obsolete("The AssemblyHash class has been deprecated. https://go.microsoft.com/fwlink/?linkid=14202")]
[System.Serializable]
public struct AssemblyHash : ICloneable
type AssemblyHash = struct
    interface ICloneable
Public Structure AssemblyHash
Implements ICloneable
Inheritance
AssemblyHash
Attributes
Implements

Remarks

AssemblyHash values are used throughout the common language runtime to detect a change in assembly contents.

Constructors

AssemblyHash(AssemblyHashAlgorithm, Byte[])

Initializes a new instance of the AssemblyHash structure with the specified hash algorithm and the hash value.

AssemblyHash(Byte[])

Initializes a new instance of the AssemblyHash structure with the specified hash value. The hash algorithm defaults to SHA1.

Fields

Empty

An empty AssemblyHash object.

Properties

Algorithm

Gets or sets the hash algorithm.

Methods

Clone()

Clones this object.

GetValue()

Gets the hash value.

SetValue(Byte[])

Sets the hash value.

Applies to