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