EmbedTypeLibrary.KeyFile Property (2007 System)

Gets or sets the path to the cryptographic key file.

Namespace:  Microsoft.VisualStudio.Tools.Office.BuildTasks
Assembly:  Microsoft.VisualStudio.Tools.Office.BuildTasks (in Microsoft.VisualStudio.Tools.Office.BuildTasks.dll)

Syntax

'Declaration
Public Property KeyFile As String
'Usage
Dim instance As EmbedTypeLibrary 
Dim value As String 

value = instance.KeyFile

instance.KeyFile = value
public string KeyFile { get; set; }
public:
property String^ KeyFile {
    String^ get ();
    void set (String^ value);
}
public function get KeyFile () : String 
public function set KeyFile (value : String)

Property Value

Type: System.String
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.

.NET Framework Security

See Also

Reference

EmbedTypeLibrary Class

EmbedTypeLibrary Members

Microsoft.VisualStudio.Tools.Office.BuildTasks Namespace