AssemblyKeyFileAttribute.KeyFile Property


Gets the name of the file containing the key pair used to generate a strong name for the attributed assembly.

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

Property Value

A string containing the name of the file that contains the key pair.



Because the path and file name persist, ensure that the string you use with AssemblyKeyFileAttribute does not contain sensitive information.

Applies to