Specifies the container of a key or key pair that has been installed in the Crypto Service Provider (CSP).
Restriction: This directive is supported for .NET COBOL only.
Syntax:
>>------.---ILKEYNAME--"keycontainer"--.---><
+-NOILKEYNAME------------------+
Parameters:
-
keycontainer
- The name of the container that contains the key
Properties:
Default:
|
NOILKEYNAME
|
IDE equivalent:
|
Click
Project
>
Properties >
Application >
Assembly Information and fill in
Key Name
|
Assembly manifest attribute
|
System.Reflection.AssemblyKeyName
|
Comments:
The key or key pair in the key container is used for strong naming an assembly. The Compiler sets the public key in the assembly manifest and signs the final assembly with the private key. See the Visual Studio Help topic Strong-Name Assemblies (Assembly Signing) for more information.
You can alternatively specify the keys using the ILKEYFILE directive. You can also partially sign the assembly using the ILDELAYSIGN directive.