属性を付けるアセンブリの厳密な名前を生成するために、キー ペアを格納しているファイルの名前を使用して、 AssemblyKeyFileAttribute クラスの新しいインスタンスを初期化します。
Public Sub New( _
ByVal keyFile As String _)
[C#]
public AssemblyKeyFileAttribute(
stringkeyFile);
[C++]
public: AssemblyKeyFileAttribute(
String* keyFile);
[JScript]
public function AssemblyKeyFileAttribute(
keyFile : String);
パラメータ
- keyFile
キー ペアを格納しているファイルの名前。
解説
注意 パスとファイル名は永続化されるため、 AssemblyKeyFileAttribute で使用する文字列に、機密情報を使用しないでください。
必要条件
プラットフォーム: 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
参照
AssemblyKeyFileAttribute クラス | AssemblyKeyFileAttribute メンバ | System.Reflection 名前空間