Share via


EmbedTypeLibrary.KeyContainer Property

Definition

Gets or sets the path to the cryptographic key container.

public:
 property System::String ^ KeyContainer { System::String ^ get(); void set(System::String ^ value); };
public string KeyContainer { get; set; }
member this.KeyContainer : string with get, set
Public Property KeyContainer As String

Property Value

A String that represents the path to the cryptographic key container.

Remarks

To generate a key file, type the following command at the Visual Studio command prompt: sn -k file

To install the key file into a container, type the following command: sn -kfile containerName

Use either the KeyFile or the KeyContainer for strong name signing of assemblies.

Applies to