SafeEvpPKeyHandle Constructors
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.
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. |
- 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();
[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 ()
- Attributes
Applies to
.NET 10 ja muut versiot
Tuote | Versiot |
---|---|
.NET | 6, 7, 8, 9, 10 |
- 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);
[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)
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
.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) |
Tuotteen .NET palaute
.NET on avoin lähdekoodi projekti. Anna palautetta valitsemalla linkki: