AssemblyHash 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化结构的新实例 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[]
哈希值。
- 属性