AssemblyKeyFileAttribute.KeyFile 属性

定义

获取包含用于为特性化程序集生成强名称的密钥对的文件的名称。

public:
 property System::String ^ KeyFile { System::String ^ get(); };
public string KeyFile { get; }
member this.KeyFile : string
Public ReadOnly Property KeyFile As String

属性值

一个字符串,包含包含密钥对的文件的名称。

注解

Caution

由于路径和文件名仍然存在,因此请确保使用的 AssemblyKeyFileAttribute 字符串不包含敏感信息。

适用于