SafeAccessTokenHandle Constructor (IntPtr)

.NET Framework (current version)
 

Initializes a new instance of the SafeAccessTokenHandle class.

Namespace:   Microsoft.Win32.SafeHandles
Assembly:  mscorlib (in mscorlib.dll)

public:
SafeAccessTokenHandle(
	IntPtr handle
)

Parameters

handle
Type: System::IntPtr

An IntPtr object that represents the pre-existing handle to use. Using Zero returns an invalid handle.

.NET Framework
Available since 4.6
Return to top
Show: