C# Class PInvoke.AdvApi32.SafeCryptographicProviderHandle

A cryptographic service provider (CSP) handle.
Inheritance: System.Runtime.InteropServices.SafeHandle
Mostrar archivo Open project: AArnott/pinvoke Class Usage Examples

Public Properties

Property Type Description
Null SafeCryptographicProviderHandle

Public Methods

Method Description
SafeCryptographicProviderHandle ( ) : System

Initializes a new instance of the SafeCryptographicProviderHandle class.

SafeCryptographicProviderHandle ( IntPtr preexistingHandle, bool ownsHandle = true ) : System

Initializes a new instance of the SafeCryptographicProviderHandle class.

Protected Methods

Method Description
ReleaseHandle ( ) : bool

Method Details

ReleaseHandle() protected method

protected ReleaseHandle ( ) : bool
return bool

SafeCryptographicProviderHandle() public method

Initializes a new instance of the SafeCryptographicProviderHandle class.
public SafeCryptographicProviderHandle ( ) : System
return System

SafeCryptographicProviderHandle() public method

Initializes a new instance of the SafeCryptographicProviderHandle class.
public SafeCryptographicProviderHandle ( IntPtr preexistingHandle, bool ownsHandle = true ) : System
preexistingHandle System.IntPtr An object that represents the pre-existing handle to use.
ownsHandle bool /// to have the native handle released when this safe handle is disposed or finalized; /// otherwise. ///
return System

Property Details

Null public_oe static_oe property

A handle that may be used in place of IntPtr.Zero.
public static SafeCryptographicProviderHandle Null
return SafeCryptographicProviderHandle