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