Dev2.Impersonator.DuplicateToken C# (CSharp) Method

DuplicateToken() private method

private DuplicateToken ( IntPtr hToken, int impersonationLevel, IntPtr &hNewToken ) : int
hToken System.IntPtr
impersonationLevel int
hNewToken System.IntPtr
return int
        static extern int DuplicateToken(IntPtr hToken, int impersonationLevel, out IntPtr hNewToken);