Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
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 NCryptCreatePersistedKey ( _
hProvider As SafeNCryptProviderHandle, _
<OutAttribute> ByRef phKey As SafeNCryptKeyHandle, _
pszAlgId As String, _
pszKeyName As String, _
dwLegacyKeySpec As Integer, _
dwFlags As CngKeyCreationOptions _
) As Integer
public static int NCryptCreatePersistedKey(
SafeNCryptProviderHandle hProvider,
out SafeNCryptKeyHandle phKey,
string pszAlgId,
string pszKeyName,
int dwLegacyKeySpec,
CngKeyCreationOptions dwFlags
)
Paramètres
- hProvider
Type : Microsoft.Win32.SafeHandles.SafeNCryptProviderHandle
- phKey
Type : Microsoft.Win32.SafeHandles.SafeNCryptKeyHandle%
- pszAlgId
Type : System.String
- pszKeyName
Type : System.String
- dwLegacyKeySpec
Type : System.Int32
- dwFlags
Type : System.Security.Cryptography.CngKeyCreationOptions
Valeur de retour
Type : System.Int32