AssemblyHash AssemblyHash AssemblyHash 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. http://go.microsoft.com/fwlink/?linkid=14202")]
[System.Serializable]
public struct AssemblyHash : ICloneable
type AssemblyHash = struct
    interface ICloneable
Public Structure AssemblyHash
Implements ICloneable
Inheritance
AssemblyHashAssemblyHashAssemblyHashAssemblyHash
Attributes
Implements

Remarks

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

Constructors

AssemblyHash(Byte[]) AssemblyHash(Byte[]) AssemblyHash(Byte[]) AssemblyHash(Byte[])

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

AssemblyHash(AssemblyHashAlgorithm, Byte[]) AssemblyHash(AssemblyHashAlgorithm, Byte[]) AssemblyHash(AssemblyHashAlgorithm, Byte[]) AssemblyHash(AssemblyHashAlgorithm, Byte[])

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

Fields

Empty Empty Empty Empty

An empty AssemblyHash object.

Properties

Algorithm Algorithm Algorithm Algorithm

Gets or sets the hash algorithm.

Methods

Clone() Clone() Clone() Clone()

Clones this object.

GetValue() GetValue() GetValue() GetValue()

Gets the hash value.

SetValue(Byte[]) SetValue(Byte[]) SetValue(Byte[]) SetValue(Byte[])

Sets the hash value.

Applies to