예제 #1
0
파일: Win32.cs 프로젝트: gam4er/SneakyRun
 public static extern Boolean DuplicateTokenEx(
     IntPtr hExistingToken,
     UInt32 dwDesiredAccess,
     ref Execute.Win32.WinBase._SECURITY_ATTRIBUTES lpTokenAttributes,
     Execute.Win32.WinNT._SECURITY_IMPERSONATION_LEVEL ImpersonationLevel,
     Execute.Win32.WinNT.TOKEN_TYPE TokenType,
     out IntPtr phNewToken
     );
예제 #2
0
파일: Win32.cs 프로젝트: gam4er/SneakyRun
 public static extern Boolean ImpersonateSelf(
     Execute.Win32.WinNT._SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
     );