[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Specifies the name of a file containing the key pair used to generate a strong name.
Assembly: mscorlib (in mscorlib.dll)
Thetype exposes the following members.
|Equals(Object)||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
When building a strong-named assembly, the author must supply either this attribute or AssemblyKeyNameAttribute. If AssemblyDelaySignAttribute has also been specified, it is likely that this file will only contain the public key.
An example of the syntax is [assembly:AssemblyKeyFileAttribute("myKey.snk")].
Since the path and file name persist, ensure that the string you use with AssemblyKeyFileAttribute does not contain sensitive information.