Rediger

Del via


SafeEvpPKeyHandle Constructors

Definition

Overloads

SafeEvpPKeyHandle()

Initializes a new instance of the SafeEvpPKeyHandle class, representing an invalid handle.

SafeEvpPKeyHandle(IntPtr, Boolean)

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

SafeEvpPKeyHandle()

Source:
SafeEvpPKeyHandle.OpenSsl.cs
Source:
SafeEvpPKeyHandle.OpenSsl.cs
Source:
SafeEvpPKeyHandle.OpenSsl.cs

Initializes a new instance of the SafeEvpPKeyHandle class, representing an invalid handle.

public:
 SafeEvpPKeyHandle();
public SafeEvpPKeyHandle ();
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
[System.Runtime.Versioning.UnsupportedOSPlatform("windows")]
public SafeEvpPKeyHandle ();
Public Sub New ()
Attributes

Applies to

SafeEvpPKeyHandle(IntPtr, Boolean)

Source:
SafeEvpPKeyHandle.OpenSsl.cs
Source:
SafeEvpPKeyHandle.OpenSsl.cs
Source:
SafeEvpPKeyHandle.OpenSsl.cs

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);
[System.Runtime.Versioning.UnsupportedOSPlatform("android")]
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
[System.Runtime.Versioning.UnsupportedOSPlatform("ios")]
[System.Runtime.Versioning.UnsupportedOSPlatform("tvos")]
[System.Runtime.Versioning.UnsupportedOSPlatform("windows")]
public SafeEvpPKeyHandle (IntPtr handle, bool ownsHandle);
new System.Security.Cryptography.SafeEvpPKeyHandle : nativeint * bool -> System.Security.Cryptography.SafeEvpPKeyHandle
[<System.Runtime.Versioning.UnsupportedOSPlatform("android")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("ios")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("tvos")>]
[<System.Runtime.Versioning.UnsupportedOSPlatform("windows")>]
new System.Security.Cryptography.SafeEvpPKeyHandle : nativeint * bool -> System.Security.Cryptography.SafeEvpPKeyHandle
Public Sub New (handle As IntPtr, ownsHandle As Boolean)

Parameters

handle
IntPtr

nativeint

The handle value to represent.

ownsHandle
Boolean

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

Attributes

Applies to