NativeMethods.NCryptCreatePersistedKey, 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 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

Valeur de retour

Type : System.Int32

Voir aussi

Référence

NativeMethods Classe

Microsoft.TeamFoundation.Common.Internal, espace de noms