2 instantiations of SafeHGlobalHandle
System.IdentityModel (2)
System\IdentityModel\SspiSafeHandles.cs (2)
1409get { return new SafeHGlobalHandle(IntPtr.Zero); } 1440SafeHGlobalHandle result = new SafeHGlobalHandle();
39 references to SafeHGlobalHandle
System.IdentityModel (39)
System\IdentityModel\Claims\WindowsClaimSet.cs (8)
278SafeHGlobalHandle safeAllocHandle = SafeHGlobalHandle.InvalidHandle; 313static SafeHGlobalHandle GetTokenInformation(IntPtr tokenHandle, TokenInformationClass tokenInformationClass, out uint dwLength) 315SafeHGlobalHandle safeAllocHandle = SafeHGlobalHandle.InvalidHandle; 328safeAllocHandle = SafeHGlobalHandle.AllocHGlobal(dwLength); 353SafeHGlobalHandle safeAllocHandle = SafeHGlobalHandle.InvalidHandle;
System\IdentityModel\CryptoApi.cs (1)
295[In] SafeHGlobalHandle pvFindPara,
System\IdentityModel\NativeMethods.cs (1)
288[In] SafeHGlobalHandle tokenInformation,
System\IdentityModel\Selectors\X509CertificateChain.cs (8)
157SafeHGlobalHandle applicationPolicyHandle = SafeHGlobalHandle.InvalidHandle; 158SafeHGlobalHandle certificatePolicyHandle = SafeHGlobalHandle.InvalidHandle; 316static SafeHGlobalHandle CopyOidsToUnmanagedMemory(OidCollection oids) 318SafeHGlobalHandle safeAllocHandle = SafeHGlobalHandle.InvalidHandle; 340safeAllocHandle = SafeHGlobalHandle.AllocHGlobal(ptrSize + oidSize);
System\IdentityModel\Selectors\X509CertificateStore.cs (8)
112SafeHGlobalHandle pvFindPara = SafeHGlobalHandle.InvalidHandle; 115SafeHGlobalHandle pvTemp = SafeHGlobalHandle.InvalidHandle; 129pvFindPara = SafeHGlobalHandle.AllocHGlobal(strFindValue); 144pvTemp = SafeHGlobalHandle.AllocHGlobal(bytes); 148pvFindPara = SafeHGlobalHandle.AllocHGlobal(CAPI.CRYPTOAPI_BLOB.Size); 165pvFindPara = SafeHGlobalHandle.AllocHGlobal(strFindValue);
System\IdentityModel\Selectors\X509SecurityTokenAuthenticator.cs (6)
137SafeHGlobalHandle pSourceName = null; 138SafeHGlobalHandle pPackageName = null; 139SafeHGlobalHandle pLogonInfo = null; 145pSourceName = SafeHGlobalHandle.AllocHGlobal(NativeMethods.LsaSourceName.Length + 1); 201pPackageName = SafeHGlobalHandle.AllocHGlobal(NativeMethods.LsaKerberosName.Length + 1); 227pLogonInfo = SafeHGlobalHandle.AllocHGlobal(logonInfoSize);
System\IdentityModel\SspiSafeHandles.cs (7)
1407public static SafeHGlobalHandle InvalidHandle 1412public static SafeHGlobalHandle AllocHGlobal(string s) 1419public static SafeHGlobalHandle AllocHGlobal(byte[] bytes) 1421SafeHGlobalHandle result = AllocHGlobal(bytes.Length); 1426public static SafeHGlobalHandle AllocHGlobal(uint cb) 1433public static SafeHGlobalHandle AllocHGlobal(int cb) 1440SafeHGlobalHandle result = new SafeHGlobalHandle();