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