Share via


KeyFile Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

Namespace:  System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public ReadOnly Property KeyFile As String
public string KeyFile { get; }
public:
property String^ KeyFile {
    String^ get ();
}
member KeyFile : string with get
function get KeyFile () : String

Property Value

Type: System. . :: . .String
A string containing the name of the file that contains the key pair.

Remarks

Warning

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

.NET Framework Security

See Also

Reference

AssemblyKeyFileAttribute Class

System.Reflection Namespace