AssemblyHash 构造函数
定义
初始化 AssemblyHash 结构的新实例。Initializes a new instance of the AssemblyHash structure.
重载
| AssemblyHash(Byte[]) |
已过时。
已过时。
用指定的哈希值初始化 AssemblyHash 结构的新实例。Initializes a new instance of the AssemblyHash structure with the specified hash value. 哈希算法默认为 SHA1。The hash algorithm defaults to SHA1. |
| AssemblyHash(AssemblyHashAlgorithm, Byte[]) |
已过时。
已过时。
用指定的哈希算法和哈希值初始化 AssemblyHash 结构的新实例。Initializes a new instance of the AssemblyHash structure with the specified hash algorithm and the hash value. |
AssemblyHash(Byte[])
注意
The AssemblyHash class has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202
注意
此 API 现已过时。
用指定的哈希值初始化 AssemblyHash 结构的新实例。Initializes a new instance of the AssemblyHash structure with the specified hash value. 哈希算法默认为 SHA1。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);
[System.Obsolete]
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
[<System.Obsolete>]
new System.Configuration.Assemblies.AssemblyHash : byte[] -> System.Configuration.Assemblies.AssemblyHash
Public Sub New (value As Byte())
参数
- value
- Byte[]
哈希值。The hash value.
- 属性
适用于
AssemblyHash(AssemblyHashAlgorithm, Byte[])
注意
The AssemblyHash class has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202
注意
此 API 现已过时。
用指定的哈希算法和哈希值初始化 AssemblyHash 结构的新实例。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);
[System.Obsolete]
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
[<System.Obsolete>]
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
用于生成哈希的算法。The algorithm used to generate the hash. 该参数的值来自 AssemblyHashAlgorithm 枚举。Values for this parameter come from the AssemblyHashAlgorithm enumeration.
- value
- Byte[]
哈希值。The hash value.
- 属性