IVsStrongNameKeys::CreateNewKey Method (String^, String^)

 

Creates a new key to be used for signing, exporting to a file, and creating a new key container.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int CreateNewKey(
	String^ szFileLocation,
	[OutAttribute] String^% pbstrFilename
)

Parameters

szFileLocation
Type: System::String^

[in] The location to save the key file.

pbstrFilename
Type: System::String^

[in] The name of the file in which to store the key.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Return to top
Show: