SafeEvpPKeyHandle 建構函式

定義

多載

SafeEvpPKeyHandle()

初始化 類別的新實例,表示不正確 SafeEvpPKeyHandle 控制碼。

SafeEvpPKeyHandle(IntPtr, Boolean)

使用指定的控制代碼值,初始化 SafeEvpPKeyHandle 類別的新執行個體。

SafeEvpPKeyHandle()

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

初始化 類別的新實例,表示不正確 SafeEvpPKeyHandle 控制碼。

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 ()
屬性

適用於

SafeEvpPKeyHandle(IntPtr, Boolean)

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

使用指定的控制代碼值,初始化 SafeEvpPKeyHandle 類別的新執行個體。

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)

參數

handle
IntPtr

nativeint

要表示的控制代碼值。

ownsHandle
Boolean

true 表示確實讓 SafeEvpPKeyHandle 在結束階段釋放控制代碼,否則為 false (不建議)。

屬性

適用於