2 references to SafeNativeMethods
System.ServiceModel.Activation (2)
System\ServiceModel\Activation\HostedImpersonationContext.cs (2)
38
bool isSuccess =
SafeNativeMethods
.OpenCurrentThreadTokenCritical(TokenAccessLevels.Query | TokenAccessLevels.Impersonate,
50
if (error !=
SafeNativeMethods
.ERROR_NO_TOKEN)