SafeEvpPKeyHandle(IntPtr, Boolean) Constructor

Definition

Initializes a new instance of the SafeEvpPKeyHandle class with the specified handle value.

public:
 SafeEvpPKeyHandle(IntPtr handle, bool ownsHandle);
public SafeEvpPKeyHandle (IntPtr handle, bool ownsHandle);
new System.Security.Cryptography.SafeEvpPKeyHandle : nativeint * bool -> System.Security.Cryptography.SafeEvpPKeyHandle
Public Sub New (handle As IntPtr, ownsHandle As Boolean)

Parameters

handle
IntPtr

The handle value to represent.

ownsHandle
Boolean

true to reliably let SafeEvpPKeyHandle release the handle during the finalization phase; otherwise, false (not recommended).

Applies to