Upravit

Sdílet prostřednictvím


SecKey Constructors

Definition

Overloads

SecKey(IntPtr)

A constructor used when creating managed representations of unmanaged objects.

SecKey(IntPtr, Boolean)

A constructor used when creating managed representations of unmanaged objects.

SecKey(IntPtr)

A constructor used when creating managed representations of unmanaged objects.

public SecKey (IntPtr handle);
new Security.SecKey : nativeint -> Security.SecKey

Parameters

handle
IntPtr

nativeint

Handle to the unmanaged version of SecKey object.

Remarks

Returns the managed wrapper that represents the security key.

Applies to

SecKey(IntPtr, Boolean)

A constructor used when creating managed representations of unmanaged objects.

[Foundation.Preserve(Conditional=true)]
public SecKey (IntPtr handle, bool owns);
new Security.SecKey : nativeint * bool -> Security.SecKey

Parameters

handle
IntPtr

nativeint

Handle to the unmanaged version of SecKey object.

owns
Boolean

Pass true if managed code already owns a reference to the object.  Pass false otherwise, which will invoke retain on the unmanaged object.

Attributes

Applies to