次の方法で共有


AssemblyKeyFileAttribute.KeyFile プロパティ

属性付きアセンブリの厳密な名前を生成するために使用するキー ペアを格納しているファイルの名前を取得します。

Public ReadOnly Property KeyFile As String
[C#]
public string KeyFile {get;}
[C++]
public: __property String* get_KeyFile();
[JScript]
public function get KeyFile() : String;

プロパティ値

キー ペアを格納しているファイルの名前を含む文字列。

解説

注意   パスとファイル名は永続化されるため、 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 名前空間