次の方法で共有


AssemblyAlgorithmIdAttribute クラス

アセンブリのすべてのファイルをハッシュするアルゴリズムを指定します。このクラスは継承できません。

この型のすべてのメンバの一覧については、AssemblyAlgorithmIdAttribute メンバ を参照してください。

System.Object
   System.Attribute
      System.Reflection.AssemblyAlgorithmIdAttribute

<AttributeUsage(AttributeTargets.Assembly)>
NotInheritable Public Class AssemblyAlgorithmIdAttribute   Inherits Attribute
[C#]
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyAlgorithmIdAttribute : Attribute
[C++]
[AttributeUsage(AttributeTargets::Assembly)]
public __gc __sealed class AssemblyAlgorithmIdAttribute : public   Attribute
[JScript]
public
   AttributeUsage(AttributeTargets.Assembly)
class AssemblyAlgorithmIdAttribute extends Attribute

スレッドセーフ

この型の public static (Visual Basicでは Shared) のすべてのメンバは、マルチスレッド操作で安全に使用できます。インスタンスのメンバの場合は、スレッドセーフであるとは限りません。

解説

アセンブリのファイル ハッシュ値とファイル ハッシュ名は、アセンブリ マニフェストに格納されます。ファイルを読み込むときに、ハッシュ値を使用して、マニフェストの構築後にファイルが変更されていないことを検証します。

必要条件

名前空間: System.Reflection

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET

アセンブリ: Mscorlib (Mscorlib.dll 内)

参照

AssemblyAlgorithmIdAttribute メンバ | System.Reflection 名前空間