SecKey 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
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