1 instantiation of SafeCloseHandle
System.IdentityModel (1)
System\IdentityModel\SspiSafeHandles.cs (1)
867
safeHandle = new
SafeCloseHandle
(IntPtr.Zero, false);
21 references to SafeCloseHandle
System.IdentityModel (21)
System\IdentityModel\NativeMethods.cs (8)
280
[Out] out
SafeCloseHandle
phToken
383
[In]
SafeCloseHandle
tokenHandle,
402
[Out] out
SafeCloseHandle
tokenHandle
411
[Out] out
SafeCloseHandle
tokenHandle
425
[In]
SafeCloseHandle
existingTokenHandle,
430
[Out] out
SafeCloseHandle
duplicateTokenHandle
438
[In]
SafeCloseHandle
threadToken
497
[Out] out
SafeCloseHandle
Token,
System\IdentityModel\Privilege.cs (6)
36
SafeCloseHandle
threadToken = null;
103
SafeCloseHandle
GetThreadToken()
109
SafeCloseHandle
threadToken;
124
SafeCloseHandle
processToken;
161
void EnableTokenPrivilege(
SafeCloseHandle
threadToken)
207
void SetThreadToken(
SafeCloseHandle
threadToken)
System\IdentityModel\Selectors\WindowsUserNameSecurityTokenAuthenticator.cs (1)
49
SafeCloseHandle
tokenHandle = null;
System\IdentityModel\Selectors\X509SecurityTokenAuthenticator.cs (1)
142
SafeCloseHandle
tokenHandle = null;
System\IdentityModel\SspiSafeHandles.cs (2)
833
internal int GetSecurityContextToken(out
SafeCloseHandle
safeHandle)
886
extern static int QuerySecurityContextToken(ref SSPIHandle phContext, [Out] out
SafeCloseHandle
handle);
System\IdentityModel\SspiWrapper.cs (1)
500
out
SafeCloseHandle
token)
System\IdentityModel\Tokens\KerberosReceiverSecurityToken.cs (1)
159
SafeCloseHandle
tokenHandle = null;
System\IdentityModel\Tokens\WindowsUserNameSecurityTokenHandler.cs (1)
92
SafeCloseHandle
tokenHandle = null;