NativeMethods.NCryptEncrypt メソッド

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

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

構文

'宣言
Public Shared Function NCryptEncrypt ( _
    hKey As SafeNCryptKeyHandle, _
    pbInput As Byte(), _
    cbInput As Integer, _
    ByRef pPaddingInfo As NativeMethods.BCRYPT_OAEP_PADDING_INFO, _
    <OutAttribute> pbOutput As Byte(), _
    cbOutput As Integer, _
    <OutAttribute> ByRef pcbResult As Integer, _
    dwFlags As Integer _
) As Integer
public static int NCryptEncrypt(
    SafeNCryptKeyHandle hKey,
    byte[] pbInput,
    int cbInput,
    ref NativeMethods.BCRYPT_OAEP_PADDING_INFO pPaddingInfo,
    byte[] pbOutput,
    int cbOutput,
    out int pcbResult,
    int dwFlags
)

パラメーター

戻り値

型 : System.Int32

参照

関連項目

NativeMethods クラス

Microsoft.TeamFoundation.Common.Internal 名前空間