AssemblyHash 結構

定義

警告

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

表示組件資訊清單 (Assembly Manifest) 內容的雜湊。

C#
[System.Serializable]
public struct AssemblyHash : ICloneable
C#
[System.Serializable]
[System.Obsolete("The AssemblyHash class has been deprecated. http://go.microsoft.com/fwlink/?linkid=14202")]
[System.Runtime.InteropServices.ComVisible(true)]
public struct AssemblyHash : ICloneable
繼承
AssemblyHash
屬性
實作

備註

AssemblyHash 值會在整個 Common Language Runtime 中使用,以偵測元件內容中的變更。

建構函式

AssemblyHash(AssemblyHashAlgorithm, Byte[])
已淘汰.

使用指定的雜湊演算法和雜湊值,初始化 AssemblyHash 結構的新執行個體。

AssemblyHash(Byte[])
已淘汰.

使用指定的雜湊值 (Hash Value),初始化 AssemblyHash 結構的新執行個體。 雜湊演算法預設值為 SHA1

欄位

Empty
已淘汰.

空的 AssemblyHash 物件。

屬性

Algorithm
已淘汰.

取得或設定雜湊演算法。

方法

Clone()
已淘汰.

複製這個物件。

GetValue()
已淘汰.

取得雜湊值。

SetValue(Byte[])
已淘汰.

設定雜湊值。

適用於

產品 版本 (已過時)
.NET Framework 1.1 (2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1)