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.

C#
[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();
C#
public SafeEvpPKeyHandle();
Attributes

Applies to

.NET 10 ja muut versiot
Tuote Versiot
.NET 6, 7, 8, 9, 10

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.

C#
[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);
C#
public SafeEvpPKeyHandle(IntPtr handle, bool ownsHandle);

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).

Attributes

Applies to

.NET 10 ja muut versiot
Tuote Versiot
.NET Core 1.0, Core 1.1, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided)