AssemblyHash 构造函数

定义

初始化 AssemblyHash 结构的新实例。

重载

AssemblyHash(Byte[])
已过时.

用指定的哈希值初始化 AssemblyHash 结构的新实例。 哈希算法默认为 SHA1

AssemblyHash(AssemblyHashAlgorithm, Byte[])
已过时.

用指定的哈希算法和哈希值初始化 AssemblyHash 结构的新实例。

AssemblyHash(Byte[])

注意

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

用指定的哈希值初始化 AssemblyHash 结构的新实例。 哈希算法默认为 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())

参数

value
Byte[]

哈希值。

属性

适用于

AssemblyHash(AssemblyHashAlgorithm, Byte[])

注意

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

用指定的哈希算法和哈希值初始化 AssemblyHash 结构的新实例。

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())

参数

algorithm
AssemblyHashAlgorithm

用于生成哈希的算法。 该参数的值来自 AssemblyHashAlgorithm 枚举。

value
Byte[]

哈希值。

属性

适用于