Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.