Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Imports a PFX-encrypted file to a key container.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function ImportKeyFromPFX ( _
szFile As String, _
<OutAttribute> ByRef pbstrContainerName As String _
) As Integer
int ImportKeyFromPFX(
string szFile,
out string pbstrContainerName
)
int ImportKeyFromPFX(
[InAttribute] String^ szFile,
[OutAttribute] String^% pbstrContainerName
)
abstract ImportKeyFromPFX :
szFile:string *
pbstrContainerName:string byref -> int
function ImportKeyFromPFX(
szFile : String,
pbstrContainerName : String
) : int
Parameters
szFile
Type: System.String[in] The PFX-encrypted file to import.
pbstrContainerName
Type: System.String%[out] The key container in which the PFX-encrypted file was imported.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.