3 references to OpenCurrentThreadToken
System.ServiceModel (3)
System\ServiceModel\ComIntegration\ComPlusAuthorization.cs (1)
112
bool isSuccess = SafeNativeMethods.
OpenCurrentThreadToken
(SafeNativeMethods.GetCurrentThread(), TokenAccessLevels.Query, true, out tokenHandle);
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (1)
493
if (!SafeNativeMethods.
OpenCurrentThreadToken
(threadHandle, TokenAccessLevels.Impersonate, true, out tokenHandle))
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (1)
1068
if (!SafeNativeMethods.
OpenCurrentThreadToken
(