5 references to GetCurrentThread
System.ServiceModel (5)
System\ServiceModel\ComIntegration\ComPlusAuthorization.cs (2)
105
if (!SafeNativeMethods.ImpersonateAnonymousUserOnCurrentThread(SafeNativeMethods.
GetCurrentThread
()))
112
bool isSuccess = SafeNativeMethods.OpenCurrentThreadToken(SafeNativeMethods.
GetCurrentThread
(), TokenAccessLevels.Query, true, out tokenHandle);
System\ServiceModel\Dispatcher\SecurityImpersonationBehavior.cs (2)
491
IntPtr threadHandle = SafeNativeMethods.
GetCurrentThread
();
532
Fx.Assert(this.threadHandle == SafeNativeMethods.
GetCurrentThread
(), "");
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (1)
1069
SafeNativeMethods.
GetCurrentThread
(),