26 references to SafeNetHandles
System (26)
net\System\Net\_NativeSSPI.cs (1)
450
status = UnsafeNclNativeMethods.
SafeNetHandles
.QuerySecurityContextToken(ref phContext._handle, out safeHandle);
net\System\Net\_SafeNetHandles.cs (24)
300
return UnsafeNclNativeMethods.
SafeNetHandles
.CloseHandle(handle);
342
return (UnsafeNclNativeMethods.
SafeNetHandles
.HttpCloseRequestQueue(handle) ==
665
SafeLocalFree result = UnsafeNclNativeMethods.
SafeNetHandles
.LocalAlloc(LMEM_FIXED, (UIntPtr) cb);
675
return UnsafeNclNativeMethods.
SafeNetHandles
.LocalFree(handle) == IntPtr.Zero;
696
return UnsafeNclNativeMethods.
SafeNetHandles
.GlobalFree(handle) == IntPtr.Zero;
754
return UnsafeNclNativeMethods.
SafeNetHandles
.LocalFree(handle) == IntPtr.Zero;
782
IntPtr hKernel32 = UnsafeNclNativeMethods.
SafeNetHandles
.GetModuleHandleW(KERNEL32);
800
SafeLoadLibrary result = UnsafeNclNativeMethods.
SafeNetHandles
.LoadLibraryExW(library, null, _flags);
814
return UnsafeNclNativeMethods.
SafeNetHandles
.FreeLibrary(handle);
845
UnsafeNclNativeMethods.
SafeNetHandles
.CertFreeCertificateChain(handle);
880
UnsafeNclNativeMethods.
SafeNetHandles
.CertFreeCertificateChainList(handle);
1030
UnsafeNclNativeMethods.
SafeNetHandles
.CertFreeCertificateContext(handle);
2586
errorCode = UnsafeNclNativeMethods.
SafeNetHandles
.closesocket(handle);
2603
errorCode = UnsafeNclNativeMethods.
SafeNetHandles
.ioctlsocket(
2613
errorCode = UnsafeNclNativeMethods.
SafeNetHandles
.WSAEventSelect(
2620
errorCode = UnsafeNclNativeMethods.
SafeNetHandles
.ioctlsocket(
2630
errorCode = UnsafeNclNativeMethods.
SafeNetHandles
.closesocket(handle);
2653
errorCode = UnsafeNclNativeMethods.
SafeNetHandles
.setsockopt(
2671
errorCode = UnsafeNclNativeMethods.
SafeNetHandles
.closesocket(handle);
2736
InnerSafeCloseSocket result = UnsafeNclNativeMethods.
SafeNetHandles
.accept(socketHandle.DangerousGetHandle(), socketAddress, ref socketAddressSize);
2829
result = UnsafeNclNativeMethods.
SafeNetHandles
.LocalAllocChannelBinding(LMEM_FIXED, (UIntPtr)cb);
2842
return UnsafeNclNativeMethods.
SafeNetHandles
.LocalFree(handle) == IntPtr.Zero;
2972
UnsafeNclNativeMethods.
SafeNetHandles
.UnlockUrlCacheEntryFileW(ptrStr, 0);
3001
if (!UnsafeNclNativeMethods.
SafeNetHandles
.RetrieveUrlCacheEntryFileW(key, entryPtr, ref entryBufSize, 0))
net\System\Net\HttpListener.cs (1)
992
UnsafeNclNativeMethods.
SafeNetHandles
.HttpCreateRequestQueue(