4 references to GetProcessToken
System.ServiceModel (4)
System\ServiceModel\Activation\Utility.cs (4)
137
SafeCloseHandle token =
GetProcessToken
(process, ListenerUnsafeNativeMethods.TOKEN_QUERY | ListenerUnsafeNativeMethods.WRITE_DAC | ListenerUnsafeNativeMethods.READ_CONTROL);
186
SafeCloseHandle token =
GetProcessToken
(process, ListenerUnsafeNativeMethods.TOKEN_QUERY | ListenerUnsafeNativeMethods.TOKEN_ADJUST_PRIVILEGES | ListenerUnsafeNativeMethods.READ_CONTROL);
339
SafeCloseHandle token =
GetProcessToken
(process, ListenerUnsafeNativeMethods.TOKEN_QUERY);
377
SafeCloseHandle token =
GetProcessToken
(process, ListenerUnsafeNativeMethods.TOKEN_QUERY);