NativeMethods.NCryptImportKey, méthode
Ce type a un attribut SecurityCriticalAttribute, qui le limite à un usage interne par la bibliothèque de classes .NET Framework pour Silverlight. Un code d'application qui utilise un membre de ce type lève une exception MethodAccessException.
Espace de noms : Microsoft.TeamFoundation.Common.Internal
Assembly : Microsoft.TeamFoundation.Common (dans Microsoft.TeamFoundation.Common.dll)
Syntaxe
'Déclaration
Public Shared Function NCryptImportKey ( _
hProvider As SafeNCryptProviderHandle, _
hImportKey As IntPtr, _
pszBlobType As String, _
pParameterList As IntPtr, _
<OutAttribute> ByRef phKey As SafeNCryptKeyHandle, _
pbData As Byte(), _
cbData As Integer, _
dwFlags As Integer _
) As Integer
public static int NCryptImportKey(
SafeNCryptProviderHandle hProvider,
IntPtr hImportKey,
string pszBlobType,
IntPtr pParameterList,
out SafeNCryptKeyHandle phKey,
byte[] pbData,
int cbData,
int dwFlags
)
Paramètres
- hProvider
Type : Microsoft.Win32.SafeHandles.SafeNCryptProviderHandle
- hImportKey
Type : System.IntPtr
- pszBlobType
Type : System.String
- pParameterList
Type : System.IntPtr
- phKey
Type : Microsoft.Win32.SafeHandles.SafeNCryptKeyHandle%
- pbData
Type : array<System.Byte[]
- cbData
Type : System.Int32
- dwFlags
Type : System.Int32
Valeur de retour
Type : System.Int32