Uredi

Deli z drugimi prek


AssemblyHash Constructors

Definition

Initializes a new instance of the AssemblyHash structure.

Overloads

AssemblyHash(Byte[])
Obsolete.

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

AssemblyHash(AssemblyHashAlgorithm, Byte[])
Obsolete.

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

AssemblyHash(Byte[])

Caution

The AssemblyHash class has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202

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

public:
 AssemblyHash(cli::array <System::Byte> ^ value);
public AssemblyHash (byte[] value);
[System.Obsolete("The AssemblyHash class has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202")]
public AssemblyHash (byte[] value);
new System.Configuration.Assemblies.AssemblyHash : byte[] -> System.Configuration.Assemblies.AssemblyHash
[<System.Obsolete("The AssemblyHash class has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202")>]
new System.Configuration.Assemblies.AssemblyHash : byte[] -> System.Configuration.Assemblies.AssemblyHash
Public Sub New (value As Byte())

Parameters

value
Byte[]

The hash value.

Attributes

Applies to

AssemblyHash(AssemblyHashAlgorithm, Byte[])

Caution

The AssemblyHash class has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202

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

public:
 AssemblyHash(System::Configuration::Assemblies::AssemblyHashAlgorithm algorithm, cli::array <System::Byte> ^ value);
public AssemblyHash (System.Configuration.Assemblies.AssemblyHashAlgorithm algorithm, byte[] value);
[System.Obsolete("The AssemblyHash class has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202")]
public AssemblyHash (System.Configuration.Assemblies.AssemblyHashAlgorithm algorithm, byte[] value);
new System.Configuration.Assemblies.AssemblyHash : System.Configuration.Assemblies.AssemblyHashAlgorithm * byte[] -> System.Configuration.Assemblies.AssemblyHash
[<System.Obsolete("The AssemblyHash class has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202")>]
new System.Configuration.Assemblies.AssemblyHash : System.Configuration.Assemblies.AssemblyHashAlgorithm * byte[] -> System.Configuration.Assemblies.AssemblyHash
Public Sub New (algorithm As AssemblyHashAlgorithm, value As Byte())

Parameters

algorithm
AssemblyHashAlgorithm

The algorithm used to generate the hash. Values for this parameter come from the AssemblyHashAlgorithm enumeration.

value
Byte[]

The hash value.

Attributes

Applies to