語言

SafeEvpPKeyHandle 建構函式

定義

初始化 SafeEvpPKeyHandle 類別的新執行個體。

多載

名稱 Description
SafeEvpPKeyHandle()

初始化該類別的新實例 SafeEvpPKeyHandle ,代表一個無效的句柄。

SafeEvpPKeyHandle(IntPtr, Boolean)

初始化一個以指定 handle 值的新 SafeEvpPKeyHandle 類別實例。

SafeEvpPKeyHandle()

來源:
SafeEvpPKeyHandle.OpenSsl.cs
來源:
SafeEvpPKeyHandle.OpenSsl.cs
來源:
SafeEvpPKeyHandle.OpenSsl.cs
來源:
SafeEvpPKeyHandle.OpenSsl.cs
來源:
SafeEvpPKeyHandle.OpenSsl.cs

初始化該類別的新實例 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 SafeEvpPKeyHandle();
Public Sub New ()
屬性

適用於

SafeEvpPKeyHandle(IntPtr, Boolean)

來源:
SafeEvpPKeyHandle.OpenSsl.cs
來源:
SafeEvpPKeyHandle.OpenSsl.cs
來源:
SafeEvpPKeyHandle.OpenSsl.cs
來源:
SafeEvpPKeyHandle.OpenSsl.cs
來源:
SafeEvpPKeyHandle.OpenSsl.cs

初始化一個以指定 handle 值的新 SafeEvpPKeyHandle 類別實例。

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);
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")>]
new System.Security.Cryptography.SafeEvpPKeyHandle : nativeint * bool -> System.Security.Cryptography.SafeEvpPKeyHandle
new System.Security.Cryptography.SafeEvpPKeyHandle : nativeint * bool -> System.Security.Cryptography.SafeEvpPKeyHandle
Public Sub New (handle As IntPtr, ownsHandle As Boolean)

參數

handle
IntPtr

nativeint

要代表的handle值。

ownsHandle
Boolean

true 以確保在最終階段能可靠地釋放 SafeEvpPKeyHandle 握把;否則, false (不建議)。

屬性

適用於