17 references to TOKEN_INFORMATION_CLASS
System.ServiceModel (17)
System\ServiceModel\Activation\ListenerUnsafeNativeMethods.cs (1)
77internal static extern bool GetTokenInformation(SafeCloseHandle tokenHandle, TOKEN_INFORMATION_CLASS tokenInformationClass, [Out] byte[] pTokenInformation, int tokenInformationLength, out int returnLength);
System\ServiceModel\Activation\Utility.cs (8)
74static int GetTokenInformationLength(SafeCloseHandle token, ListenerUnsafeNativeMethods.TOKEN_INFORMATION_CLASS tic) 90static void GetTokenInformation(SafeCloseHandle token, ListenerUnsafeNativeMethods.TOKEN_INFORMATION_CLASS tic, byte[] tokenInformation) 197int length = GetTokenInformationLength(token, ListenerUnsafeNativeMethods.TOKEN_INFORMATION_CLASS.TokenPrivileges); 201GetTokenInformation(token, ListenerUnsafeNativeMethods.TOKEN_INFORMATION_CLASS.TokenPrivileges, 342int length = GetTokenInformationLength(token, ListenerUnsafeNativeMethods.TOKEN_INFORMATION_CLASS.TokenGroups); 346GetTokenInformation(token, ListenerUnsafeNativeMethods.TOKEN_INFORMATION_CLASS.TokenGroups, tokenInformation); 380int length = GetTokenInformationLength(token, ListenerUnsafeNativeMethods.TOKEN_INFORMATION_CLASS.TokenUser); 384GetTokenInformation(token, ListenerUnsafeNativeMethods.TOKEN_INFORMATION_CLASS.TokenUser, tokenInformation);
System\ServiceModel\Channels\UnsafeNativeMethods.cs (8)
24using TOKEN_INFORMATION_CLASS = System.ServiceModel.Activation.ListenerUnsafeNativeMethods.TOKEN_INFORMATION_CLASS; 791TOKEN_INFORMATION_CLASS tokenInformationClass, 802TOKEN_INFORMATION_CLASS tokenInformationClass, 813TOKEN_INFORMATION_CLASS.TokenAppContainerSid); 820TOKEN_INFORMATION_CLASS.TokenAppContainerSid, 840static uint GetTokenInformationLength(SafeCloseHandle token, TOKEN_INFORMATION_CLASS tokenInformationClass) 870TOKEN_INFORMATION_CLASS.TokenSessionId, 888TOKEN_INFORMATION_CLASS.TokenIsAppContainer,