Share via


SafeEvpPKeyHandle Costruttori

Definizione

Overload

SafeEvpPKeyHandle()

Inizializza una nuova istanza della SafeEvpPKeyHandle classe, che rappresenta un handle non valido.

SafeEvpPKeyHandle(IntPtr, Boolean)

Inizializza una nuova istanza della classe SafeEvpPKeyHandle con il valore di handle specificato.

SafeEvpPKeyHandle()

Origine:
SafeEvpPKeyHandle.OpenSsl.cs
Origine:
SafeEvpPKeyHandle.OpenSsl.cs
Origine:
SafeEvpPKeyHandle.OpenSsl.cs

Inizializza una nuova istanza della SafeEvpPKeyHandle classe, che rappresenta un handle non valido.

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 ()
Attributi

Si applica a

SafeEvpPKeyHandle(IntPtr, Boolean)

Origine:
SafeEvpPKeyHandle.OpenSsl.cs
Origine:
SafeEvpPKeyHandle.OpenSsl.cs
Origine:
SafeEvpPKeyHandle.OpenSsl.cs

Inizializza una nuova istanza della classe SafeEvpPKeyHandle con il valore di handle specificato.

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)

Parametri

handle
IntPtr

nativeint

Valore dell'handle da rappresentare.

ownsHandle
Boolean

true per fare in modo che SafeEvpPKeyHandle rilasci in modo affidabile l'handle durante la fase di finalizzazione; in caso contrario, false (opzione non consigliata).

Attributi

Si applica a