Beispiel #1
0
 public static extern bool OpenProcessToken(IntPtr processHandle, uint desiredAccess, out TokenSafeHandle tokenHandle);
Beispiel #2
0
 public static extern bool GetTokenInformation(TokenSafeHandle tokenHandle, TOKEN_INFORMATION_CLASS tokenInformationClass,
                                               IntPtr tokenInformation, uint tokenInformationLength, out uint returnLength);
Beispiel #3
0
 public static extern bool OpenProcessToken(IntPtr ProcessHandle, UInt32 DesiredAccess,
                                            out TokenSafeHandle TokenHandle);