Udostępnij za pośrednictwem


EmbedTypeLibrary.KeyFile Property

Definition

Gets or sets the path to the cryptographic key file.

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

Property Value

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

Remarks

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

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

Applies to