2 references to GetCurrentProcess
System.Security.Principal.Windows (2)
System\Security\Principal\WindowsIdentity.cs (2)
278IntPtr currentProcessHandle = Interop.Kernel32.GetCurrentProcess(); 878if (!Interop.Advapi32.OpenProcessToken(Interop.Kernel32.GetCurrentProcess(), desiredAccess, out SafeAccessTokenHandle safeTokenHandle))