IVsStrongNameKeys::CreateNewKeyWithName Method (String^, String^, String^)
Visual Studio 2015
Create a new key to be used for signing, exporting to a file, and creating a new key container, for the specified name.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- szFile
-
Type:
System::String^
[in] The file in which to store the encryption key.
- szPassword
-
Type:
System::String^
[in] The password for the key being generated.
- szSubjectName
-
Type:
System::String^
[in] The name that goes after “CN=” in the certificate name.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: