Bagikan melalui


SafeEvpPKeyHandle Konstruktor

Definisi

Overload

SafeEvpPKeyHandle()

Menginisialisasi instans SafeEvpPKeyHandle baru kelas, mewakili handel yang tidak valid.

SafeEvpPKeyHandle(IntPtr, Boolean)

Menginisialisasi instans SafeEvpPKeyHandle baru kelas dengan nilai handel yang ditentukan.

SafeEvpPKeyHandle()

Sumber:
SafeEvpPKeyHandle.OpenSsl.cs
Sumber:
SafeEvpPKeyHandle.OpenSsl.cs
Sumber:
SafeEvpPKeyHandle.OpenSsl.cs

Menginisialisasi instans SafeEvpPKeyHandle baru kelas, mewakili handel yang tidak valid.

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 ()
Atribut

Berlaku untuk

SafeEvpPKeyHandle(IntPtr, Boolean)

Sumber:
SafeEvpPKeyHandle.OpenSsl.cs
Sumber:
SafeEvpPKeyHandle.OpenSsl.cs
Sumber:
SafeEvpPKeyHandle.OpenSsl.cs

Menginisialisasi instans SafeEvpPKeyHandle baru kelas dengan nilai handel yang ditentukan.

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)

Parameter

handle
IntPtr

nativeint

Nilai handel yang akan diwakili.

ownsHandle
Boolean

true untuk membiarkan pegangan dilepaskan dengan SafeEvpPKeyHandle andal selama fase finalisasi; jika tidak, false (tidak disarankan).

Atribut

Berlaku untuk