Mentalis.org Security Library documentation

Certificate Constructor (IntPtr, Boolean)

Initializes a new Certificate instance from a handle.

[Visual Basic]
Overloads Public Sub New( _
   ByVal handle As IntPtr, _
   ByVal duplicate As Boolean _
)
[C#]
public Certificate(
   IntPtr handle,
   bool duplicate
);

Parameters

handle
The handle from which to initialize the state of the new instance.
duplicate
true if the handle should be duplicated, false otherwise.

Exceptions

Exception TypeCondition
ArgumentExceptionhandle is invalid.

See Also

Certificate Class | Certificate Members | Org.Mentalis.Security.Certificates Namespace | Certificate Constructor Overload List