IVsStrongNameKeys.ImportKeyFromPFX(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Imports a PFX-encrypted file to a key container.
public:
int ImportKeyFromPFX(System::String ^ szFile, [Runtime::InteropServices::Out] System::String ^ % pbstrContainerName);
int ImportKeyFromPFX(std::wstring const & szFile, [Runtime::InteropServices::Out] std::wstring const & & pbstrContainerName);
public int ImportKeyFromPFX (string szFile, out string pbstrContainerName);
abstract member ImportKeyFromPFX : string * string -> int
Public Function ImportKeyFromPFX (szFile As String, ByRef pbstrContainerName As String) As Integer
Parameters
- szFile
- String
[in] The PFX-encrypted file to import.
- pbstrContainerName
- String
[out] The key container in which the PFX-encrypted file was imported.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.