2 references to OpenThreadToken
System.Security.Principal.Windows (2)
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\Interop.OpenThreadToken_SafeAccessTokenHandle.cs (2)
27
if (
OpenThreadToken
(Kernel32.GetCurrentThread(), desiredAccess, openAsSelf, out tokenHandle))
34
if (
OpenThreadToken
(Kernel32.GetCurrentThread(), desiredAccess, openAsSelf, out tokenHandle))