SafeEvpPKeyHandle Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈