CryptGetProvParam (advapi32)
Last changed: -194.145.214.51

.
Summary
Retrieves parameters that govern the operations of a cryptographic service provider (CSP).

C# Signature:

[DllImport("advapi32.dll", SetLastError=true)]
public static extern bool CryptGetProvParam(
   IntPtr hProv,
   uint dwParam,
   [In, Out] byte[] pbData,
   ref uint dwDataLen,
   uint dwFlags) ;

[DllImport("advapi32.dll", SetLastError=true)]
public static extern bool CryptGetProvParam(
   IntPtr hProv,
   uint dwParam,
   [MarshalAs(UnmanagedType.LPStr)] StringBuilder pbData,
   ref uint dwDataLen,
   uint dwFlags) ;

VB .NET Signature:

Declare Function CryptGetProvParam Lib "advapi32.dll" (hProv As IntPtr, dwParam As Integer, _
   <[In], Out> pbData() As Byte, ByRef dwDataLen As Integer, dwFlags As Integer) As Boolean

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

TODO

Documentation