NativeMethods.NCryptCreatePersistedKey メソッド

この型は SecurityCriticalAttribute 属性を持っているため、使用は .NET Framework for Silverlight クラス ライブラリでの内部用に限定されます。アプリケーション コードでこの型の任意のメンバーを使用すると、MethodAccessException 例外がスローされます。

名前空間:  Microsoft.TeamFoundation.Common.Internal
アセンブリ:  Microsoft.TeamFoundation.Common (Microsoft.TeamFoundation.Common.dll 内)

構文

'宣言
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
)

パラメーター

戻り値

型 : System.Int32

参照

関連項目

NativeMethods クラス

Microsoft.TeamFoundation.Common.Internal 名前空間