74 types derived from SafeHandle
Infrastructure.Common (1)
Microsoft.AspNetCore.Server.HttpSys (1)
Microsoft.AspNetCore.Server.IIS (1)
Microsoft.Build (1)
Microsoft.Build.Utilities.Core (1)
Microsoft.CodeAnalysis.Workspaces (3)
PresentationCore (2)
ReachFramework (2)
System.Data.Odbc (2)
System.IO.Compression (1)
System.IO.Compression.Brotli (2)
System.Net.Quic (11)
System.Net.Security (14)
System.Net.WebSockets (1)
System.Private.CoreLib (2)
System.Security.Cryptography (22)
System.Security.Principal.Windows (1)
System.Windows.Forms.Primitives (1)
UIAutomationClient (5)
271 references to SafeHandle
Microsoft.AspNetCore.Cryptography.Internal (3)
Microsoft.AspNetCore.DataProtection (2)
Microsoft.AspNetCore.Server.HttpSys (15)
NativeInterop\HttpApi.cs (11)
17internal static partial uint HttpReceiveRequestEntityBody(SafeHandle requestQueueHandle, ulong requestId, uint flags, IntPtr pEntityBuffer, uint entityBufferLength, out uint bytesReturned, SafeNativeOverlapped pOverlapped);
20internal static unsafe partial uint HttpReceiveClientCertificate(SafeHandle requestQueueHandle, ulong connectionId, uint flags, Windows.Win32.Networking.HttpServer.HTTP_SSL_CLIENT_CERT_INFO* pSslClientCertInfo, uint sslClientCertInfoSize, uint* pBytesReceived, SafeNativeOverlapped pOverlapped);
23internal static unsafe partial uint HttpReceiveHttpRequest(SafeHandle requestQueueHandle, ulong requestId, uint flags, Windows.Win32.Networking.HttpServer.HTTP_REQUEST_V1* pRequestBuffer, uint requestBufferLength, uint* pBytesReturned, NativeOverlapped* pOverlapped);
26internal static unsafe partial uint HttpSendHttpResponse(SafeHandle requestQueueHandle, ulong requestId, uint flags, Windows.Win32.Networking.HttpServer.HTTP_RESPONSE_V2* pHttpResponse, Windows.Win32.Networking.HttpServer.HTTP_CACHE_POLICY* pCachePolicy, uint* pBytesSent, IntPtr pReserved1, uint Reserved2, SafeNativeOverlapped pOverlapped, IntPtr pLogData);
29internal static unsafe partial uint HttpWaitForDisconnectEx(SafeHandle requestQueueHandle, ulong connectionId, uint reserved, NativeOverlapped* overlapped);
32internal static unsafe partial uint HttpSendResponseEntityBody(SafeHandle requestQueueHandle, ulong requestId, uint flags, ushort entityChunkCount, Windows.Win32.Networking.HttpServer.HTTP_DATA_CHUNK* pEntityChunks, uint* pBytesSent, IntPtr pReserved1, uint Reserved2, SafeNativeOverlapped pOverlapped, IntPtr pLogData);
35internal static partial uint CancelIoEx(SafeHandle handle, SafeNativeOverlapped overlapped);
37internal unsafe delegate uint HttpGetRequestPropertyInvoker(SafeHandle requestQueueHandle, ulong requestId, HTTP_REQUEST_PROPERTY propertyId,
40internal unsafe delegate uint HttpSetRequestPropertyInvoker(SafeHandle requestQueueHandle, ulong requestId, HTTP_REQUEST_PROPERTY propertyId,
55internal static unsafe uint HttpGetRequestProperty(SafeHandle requestQueueHandle, ulong requestId, HTTP_REQUEST_PROPERTY propertyId,
61internal static unsafe uint HttpSetRequestProperty(SafeHandle requestQueueHandle, ulong requestId, HTTP_REQUEST_PROPERTY propertyId,
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
Microsoft.Build (3)
Microsoft.Build.Engine.OM.UnitTests (1)
Microsoft.Build.Tasks.Core (1)
Microsoft.Build.Utilities.Core (3)
Microsoft.CodeAnalysis.Workspaces (9)
Microsoft.DotNet.RemoteExecutor (2)
MSBuild (1)
mscorlib (1)
netstandard (1)
PresentationCore (23)
ReachFramework (1)
System.Console (5)
System.Diagnostics.FileVersionInfo (1)
System.Diagnostics.Process (1)
System.Formats.Tar (2)
System.IO.Compression (3)
System.IO.Compression.ZipFile (2)
System.IO.FileSystem.DriveInfo (1)
System.IO.FileSystem.Watcher (4)
System.IO.MemoryMappedFiles (6)
System.IO.Pipes (11)
System.IO.Pipes.AccessControl (1)
System.IO.Ports (4)
System.Net.Http (1)
System.Net.HttpListener (1)
System.Net.Mail (1)
System.Net.NameResolution (1)
System.Net.NetworkInformation (1)
System.Net.Ping (1)
System.Net.Primitives (1)
System.Net.Quic (16)
System.Net.Requests (1)
System.Net.Security (16)
System.Net.Sockets (40)
System.Net.WebSockets (3)
System.Private.CoreLib (37)
System.Runtime (1)
System.Runtime.Handles (1)
System.Runtime.InteropServices (1)
System.Security.AccessControl (9)
artifacts\obj\System.Security.AccessControl\Debug\net10.0\System.Security.AccessControl.notsupported.cs (9)
325protected NativeObjectSecurity(bool isContainer, System.Security.AccessControl.ResourceType resourceType, System.Runtime.InteropServices.SafeHandle? handle, System.Security.AccessControl.AccessControlSections includeSections) : base (default(bool)) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); }
326protected NativeObjectSecurity(bool isContainer, System.Security.AccessControl.ResourceType resourceType, System.Runtime.InteropServices.SafeHandle? handle, System.Security.AccessControl.AccessControlSections includeSections, System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode? exceptionFromErrorCode, object? exceptionContext) : base (default(bool)) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); }
330protected sealed override void Persist(System.Runtime.InteropServices.SafeHandle handle, System.Security.AccessControl.AccessControlSections includeSections) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); }
331protected void Persist(System.Runtime.InteropServices.SafeHandle handle, System.Security.AccessControl.AccessControlSections includeSections, object? exceptionContext) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); }
334protected internal delegate System.Exception? ExceptionFromErrorCode(int errorCode, string? name, System.Runtime.InteropServices.SafeHandle? handle, object? context);
398protected virtual void Persist(System.Runtime.InteropServices.SafeHandle handle, System.Security.AccessControl.AccessControlSections includeSections) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); }
418protected ObjectSecurity(bool isContainer, System.Security.AccessControl.ResourceType resourceType, System.Runtime.InteropServices.SafeHandle? safeHandle, System.Security.AccessControl.AccessControlSections includeSections) : base (default(bool), default(System.Security.AccessControl.ResourceType)) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); }
419protected ObjectSecurity(bool isContainer, System.Security.AccessControl.ResourceType resourceType, System.Runtime.InteropServices.SafeHandle? safeHandle, System.Security.AccessControl.AccessControlSections includeSections, System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode? exceptionFromErrorCode, object? exceptionContext) : base (default(bool), default(System.Security.AccessControl.ResourceType)) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); }
429protected internal void Persist(System.Runtime.InteropServices.SafeHandle handle) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_AccessControl); }
System.Security.Cryptography (26)
System.ServiceProcess.ServiceController (1)
UIAutomationTypes (4)