Bewerken

Delen via


AssemblyKeyFileAttribute.KeyFile Property

Definition

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

public:
 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.

Remarks

Caution

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

Applies to