81 types derived from SafeHandle
Infrastructure.Common (1)
Microsoft.AspNetCore.Server.HttpSys (3)
_generated\12\Windows.Win32.HttpCloseRequestQueueSafeHandle.g.cs (1)
26 :SafeHandle {
Microsoft.AspNetCore.Server.IIS (1)
NuGet.Packaging (2)
PresentationCore (2)
ReachFramework (2)
System.Data.Odbc (2)
System.Data.OleDb (5)
System.Diagnostics.EventLog (3)
System.DirectoryServices (1)
System.DirectoryServices.AccountManagement (2)
System.Drawing.Common (1)
System.IO.Compression (5)
System.IO.Compression.Brotli (2)
System.IO.FileSystem.AccessControl (1)
System.Net.Quic (11)
System.Net.Security (14)
System.Net.WebSockets (1)
System.Private.CoreLib (2)
System.Security.AccessControl (1)
System.Security.Cryptography (5)
System.Security.Cryptography.Pkcs (3)
System.Security.Principal.Windows (2)
System.ServiceProcess.ServiceController (1)
System.Speech (1)
System.Windows.Extensions (1)
System.Windows.Forms.Primitives (1)
UIAutomationClient (5)
545 references to SafeHandle
Microsoft.AspNetCore.Cryptography.Internal (7)
Microsoft.AspNetCore.DataProtection (2)
Microsoft.AspNetCore.Server.HttpSys (44)
_generated\78\Windows.Win32.PInvoke.HTTPAPI.dll.g.cs (12)
57 internal static unsafe uint HttpCancelHttpRequest(SafeHandle RequestQueueHandle, ulong RequestId, [Optional] global::System.Threading.NativeOverlapped* Overlapped)
233 internal static unsafe uint HttpDelegateRequestEx(SafeHandle RequestQueueHandle, SafeHandle DelegateQueueHandle, ulong RequestId, ulong DelegateUrlGroupId, uint PropertyInfoSetSize, in winmdroot.Networking.HttpServer.HTTP_DELEGATE_REQUEST_PROPERTY_INFO PropertyInfoSet)
302 internal static unsafe uint HttpFindUrlGroupId(string FullyQualifiedUrl, SafeHandle RequestQueueHandle, out ulong UrlGroupId)
380 internal static unsafe uint HttpReceiveRequestEntityBody(SafeHandle RequestQueueHandle, ulong RequestId, uint Flags, Span<byte> EntityBuffer, out uint BytesReturned, [Optional] global::System.Threading.NativeOverlapped* Overlapped)
411 internal static unsafe uint HttpReceiveRequestEntityBody(SafeHandle RequestQueueHandle, ulong RequestId, uint Flags, Span<byte> EntityBuffer, [Optional] global::System.Threading.NativeOverlapped* Overlapped)
512 internal static unsafe uint HttpSendHttpResponse(SafeHandle RequestQueueHandle, ulong RequestId, uint Flags, in winmdroot.Networking.HttpServer.HTTP_RESPONSE_V2 HttpResponse, [Optional] winmdroot.Networking.HttpServer.HTTP_CACHE_POLICY? CachePolicy, out uint BytesSent, [Optional] global::System.Threading.NativeOverlapped* Overlapped, [Optional] winmdroot.Networking.HttpServer.HTTP_LOG_DATA? LogData)
545 internal static unsafe uint HttpSendHttpResponse(SafeHandle RequestQueueHandle, ulong RequestId, uint Flags, in winmdroot.Networking.HttpServer.HTTP_RESPONSE_V2 HttpResponse, [Optional] winmdroot.Networking.HttpServer.HTTP_CACHE_POLICY? CachePolicy, [Optional] global::System.Threading.NativeOverlapped* Overlapped, [Optional] winmdroot.Networking.HttpServer.HTTP_LOG_DATA? LogData)
623 internal static unsafe uint HttpSendResponseEntityBody(SafeHandle RequestQueueHandle, ulong RequestId, uint Flags, [Optional] ReadOnlySpan<winmdroot.Networking.HttpServer.HTTP_DATA_CHUNK> EntityChunks, out uint BytesSent, [Optional] global::System.Threading.NativeOverlapped* Overlapped, [Optional] winmdroot.Networking.HttpServer.HTTP_LOG_DATA? LogData)
655 internal static unsafe uint HttpSendResponseEntityBody(SafeHandle RequestQueueHandle, ulong RequestId, uint Flags, [Optional] ReadOnlySpan<winmdroot.Networking.HttpServer.HTTP_DATA_CHUNK> EntityChunks, [Optional] global::System.Threading.NativeOverlapped* Overlapped, [Optional] winmdroot.Networking.HttpServer.HTTP_LOG_DATA? LogData)
729 internal static unsafe uint HttpSetRequestQueueProperty(SafeHandle RequestQueueHandle, winmdroot.Networking.HttpServer.HTTP_SERVER_PROPERTY Property, ReadOnlySpan<byte> PropertyInformation)
820 internal static unsafe uint HttpShutdownRequestQueue(SafeHandle RequestQueueHandle)
_generated\93\LibraryImports.g.cs (14)
8internal static partial uint HttpReceiveRequestEntityBody(global::System.Runtime.InteropServices.SafeHandle requestQueueHandle, ulong requestId, uint flags, nint pEntityBuffer, uint entityBufferLength, out uint bytesReturned, global::Microsoft.AspNetCore.Server.HttpSys.SafeNativeOverlapped pOverlapped)
19global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __requestQueueHandle_native__marshaller = new();
58internal static unsafe partial uint HttpReceiveClientCertificate(global::System.Runtime.InteropServices.SafeHandle requestQueueHandle, ulong connectionId, uint flags, Windows.Win32.Networking.HttpServer.HTTP_SSL_CLIENT_CERT_INFO* pSslClientCertInfo, uint sslClientCertInfoSize, uint* pBytesReceived, global::Microsoft.AspNetCore.Server.HttpSys.SafeNativeOverlapped pOverlapped)
68global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __requestQueueHandle_native__marshaller = new();
105internal static unsafe partial uint HttpReceiveHttpRequest(global::System.Runtime.InteropServices.SafeHandle requestQueueHandle, ulong requestId, uint flags, Windows.Win32.Networking.HttpServer.HTTP_REQUEST_V1* pRequestBuffer, uint requestBufferLength, uint* pBytesReturned, global::System.Threading.NativeOverlapped* pOverlapped)
113global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __requestQueueHandle_native__marshaller = new();
147internal static unsafe partial uint HttpSendHttpResponse(global::System.Runtime.InteropServices.SafeHandle requestQueueHandle, ulong requestId, uint flags, Windows.Win32.Networking.HttpServer.HTTP_RESPONSE_V2* pHttpResponse, Windows.Win32.Networking.HttpServer.HTTP_CACHE_POLICY* pCachePolicy, uint* pBytesSent, nint pReserved1, uint Reserved2, global::Microsoft.AspNetCore.Server.HttpSys.SafeNativeOverlapped pOverlapped, nint pLogData)
157global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __requestQueueHandle_native__marshaller = new();
194internal static unsafe partial uint HttpWaitForDisconnectEx(global::System.Runtime.InteropServices.SafeHandle requestQueueHandle, ulong connectionId, uint reserved, global::System.Threading.NativeOverlapped* overlapped)
202global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __requestQueueHandle_native__marshaller = new();
236internal static unsafe partial uint HttpSendResponseEntityBody(global::System.Runtime.InteropServices.SafeHandle requestQueueHandle, ulong requestId, uint flags, ushort entityChunkCount, Windows.Win32.Networking.HttpServer.HTTP_DATA_CHUNK* pEntityChunks, uint* pBytesSent, nint pReserved1, uint Reserved2, global::Microsoft.AspNetCore.Server.HttpSys.SafeNativeOverlapped pOverlapped, nint pLogData)
246global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __requestQueueHandle_native__marshaller = new();
283internal static partial uint CancelIoEx(global::System.Runtime.InteropServices.SafeHandle handle, global::Microsoft.AspNetCore.Server.HttpSys.SafeNativeOverlapped overlapped)
293global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __handle_native__marshaller = new();
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.CodeAnalysis.Workspaces (9)
Microsoft.Win32.Registry (1)
mscorlib (1)
netstandard (1)
PresentationCore (23)
ReachFramework (1)
System.Console (17)
System.Data.OleDb (9)
System.Diagnostics.FileVersionInfo (3)
System.Diagnostics.PerformanceCounter (6)
System.Diagnostics.Process (36)
System.Formats.Tar (4)
System.IO.Compression (3)
System.IO.FileSystem.AccessControl (1)
System.IO.FileSystem.DriveInfo (1)
System.IO.FileSystem.Watcher (11)
System.IO.MemoryMappedFiles (13)
System.IO.Pipes (23)
System.IO.Ports (8)
System.Net.Http (1)
System.Net.Http.WinHttpHandler (1)
System.Net.HttpListener (1)
System.Net.Mail (1)
System.Net.NameResolution (1)
System.Net.NetworkInformation (3)
System.Net.Ping (3)
System.Net.Primitives (1)
System.Net.Quic (16)
System.Net.Requests (1)
System.Net.Security (17)
System.Net.Sockets (120)
_generated\0\LibraryImports.g.cs (78)
39internal static partial global::Interop.Error TryChangeSocketEventRegistration(nint port, global::System.Runtime.InteropServices.SafeHandle socket, global::Interop.Sys.SocketEvents currentEvents, global::Interop.Sys.SocketEvents newEvents, nint data)
46global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
116internal static unsafe partial global::Interop.Error Accept(global::System.Runtime.InteropServices.SafeHandle socket, byte* socketAddress, int* socketAddressLen, nint* acceptedFd)
123global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
153private static partial global::Interop.Error Bind(global::System.Runtime.InteropServices.SafeHandle socket, global::System.Net.Sockets.ProtocolType socketProtocolType, global::System.ReadOnlySpan<byte> socketAddress, int socketAddressLen)
160global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
218internal static unsafe partial global::Interop.Error Connect(global::System.Runtime.InteropServices.SafeHandle socket, byte* socketAddress, int socketAddressLen)
225global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
255internal static unsafe partial global::Interop.Error Connectx(global::System.Runtime.InteropServices.SafeHandle socket, byte* socketAddress, int socketAddressLen, global::System.Span<byte> buffer, int bufferLen, int enableTfo, int* sent)
262global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
325internal static partial int SetIsNonBlocking(global::System.Runtime.InteropServices.SafeHandle fd, int isNonBlocking)
333global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
369internal static partial int GetIsNonBlocking(global::System.Runtime.InteropServices.SafeHandle fd, out bool isNonBlocking)
379global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
418internal static partial int SetFD(global::System.Runtime.InteropServices.SafeHandle fd, int flags)
426global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
462internal static partial int GetFD(global::System.Runtime.InteropServices.SafeHandle fd)
470global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
541internal static unsafe partial global::Interop.Error GetBytesAvailable(global::System.Runtime.InteropServices.SafeHandle socket, int* available)
548global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
578internal static unsafe partial global::Interop.Error GetAtOutOfBandMark(global::System.Runtime.InteropServices.SafeHandle socket, int* atMark)
585global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
631internal static unsafe partial global::Interop.Error GetPeerName(global::System.Runtime.InteropServices.SafeHandle socket, byte* socketAddress, int* socketAddressLen)
638global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
668internal static unsafe partial global::Interop.Error GetSocketErrorOption(global::System.Runtime.InteropServices.SafeHandle socket, global::Interop.Error* socketError)
675global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
754internal static unsafe partial global::Interop.Error GetSockName(global::System.Runtime.InteropServices.SafeHandle socket, byte* socketAddress, int* socketAddressLen)
761global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
791internal static unsafe partial global::Interop.Error GetSockOpt(global::System.Runtime.InteropServices.SafeHandle socket, global::System.Net.Sockets.SocketOptionLevel optionLevel, global::System.Net.Sockets.SocketOptionName optionName, byte* optionValue, int* optionLen)
798global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
836internal static unsafe partial global::Interop.Error GetRawSockOpt(global::System.Runtime.InteropServices.SafeHandle socket, int optionLevel, int optionName, byte* optionValue, int* optionLen)
843global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
909internal static unsafe partial global::Interop.Error GetLingerOption(global::System.Runtime.InteropServices.SafeHandle socket, global::Interop.Sys.LingerOption* option)
916global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
946internal static unsafe partial global::Interop.Error SetLingerOption(global::System.Runtime.InteropServices.SafeHandle socket, global::Interop.Sys.LingerOption* option)
953global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
991internal static partial global::Interop.Error SendFile(global::System.Runtime.InteropServices.SafeHandle out_fd, global::System.Runtime.InteropServices.SafeHandle in_fd, long offset, long count, out long sent)
1001global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __in_fd_native__marshaller = new();
1002global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __out_fd_native__marshaller = new();
1040internal static partial global::Interop.Error SetSendTimeout(global::System.Runtime.InteropServices.SafeHandle socket, int millisecondsTimeout)
1047global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
1077internal static partial global::Interop.Error SetReceiveTimeout(global::System.Runtime.InteropServices.SafeHandle socket, int millisecondsTimeout)
1084global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
1114internal static partial int FStat(global::System.Runtime.InteropServices.SafeHandle fd, out global::Interop.Sys.FileStatus output)
1123global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
1246internal static partial global::Interop.Error Listen(global::System.Runtime.InteropServices.SafeHandle socket, int backlog)
1253global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
1283internal static unsafe partial global::Interop.Error GetIPv4MulticastOption(global::System.Runtime.InteropServices.SafeHandle socket, global::Interop.Sys.MulticastOption multicastOption, global::Interop.Sys.IPv4MulticastOption* option)
1290global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
1320internal static unsafe partial global::Interop.Error SetIPv4MulticastOption(global::System.Runtime.InteropServices.SafeHandle socket, global::Interop.Sys.MulticastOption multicastOption, global::Interop.Sys.IPv4MulticastOption* option)
1327global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
1357internal static unsafe partial global::Interop.Error GetIPv6MulticastOption(global::System.Runtime.InteropServices.SafeHandle socket, global::Interop.Sys.MulticastOption multicastOption, global::Interop.Sys.IPv6MulticastOption* option)
1364global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
1394internal static unsafe partial global::Interop.Error SetIPv6MulticastOption(global::System.Runtime.InteropServices.SafeHandle socket, global::Interop.Sys.MulticastOption multicastOption, global::Interop.Sys.IPv6MulticastOption* option)
1401global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
1447internal static unsafe partial int Read(global::System.Runtime.InteropServices.SafeHandle fd, byte* buffer, int count)
1455global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
1488internal static unsafe partial int ReadFromNonblocking(global::System.Runtime.InteropServices.SafeHandle fd, byte* buffer, int count)
1496global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
1529internal static unsafe partial global::Interop.Error Receive(global::System.Runtime.InteropServices.SafeHandle socket, byte* buffer, int bufferLen, global::System.Net.Sockets.SocketFlags flags, int* received)
1536global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
1566internal static unsafe partial global::Interop.Error ReceiveMessage(global::System.Runtime.InteropServices.SafeHandle socket, global::Interop.Sys.MessageHeader* messageHeader, global::System.Net.Sockets.SocketFlags flags, long* received)
1573global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
1603internal static unsafe partial global::Interop.Error Send(global::System.Runtime.InteropServices.SafeHandle socket, byte* buffer, int bufferLen, global::System.Net.Sockets.SocketFlags flags, int* sent)
1610global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
1668internal static unsafe partial global::Interop.Error SendMessage(global::System.Runtime.InteropServices.SafeHandle socket, global::Interop.Sys.MessageHeader* messageHeader, global::System.Net.Sockets.SocketFlags flags, long* sent)
1675global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
1705internal static unsafe partial global::Interop.Error SetSockOpt(global::System.Runtime.InteropServices.SafeHandle socket, global::System.Net.Sockets.SocketOptionLevel optionLevel, global::System.Net.Sockets.SocketOptionName optionName, byte* optionValue, int optionLen)
1712global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
1750internal static unsafe partial global::Interop.Error SetRawSockOpt(global::System.Runtime.InteropServices.SafeHandle socket, int optionLevel, int optionName, byte* optionValue, int optionLen)
1757global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
1787internal static partial global::Interop.Error Shutdown(global::System.Runtime.InteropServices.SafeHandle socket, global::System.Net.Sockets.SocketShutdown how)
1794global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
1938internal static unsafe partial int Write(global::System.Runtime.InteropServices.SafeHandle fd, byte* buffer, int bufferSize)
1946global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
2005internal static unsafe partial int WriteToNonblocking(global::System.Runtime.InteropServices.SafeHandle fd, byte* buffer, int bufferSize)
2013global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
System.Net.WebSockets (1)
System.Private.CoreLib (70)
_generated\2\LibraryImports.g.cs (36)
2206internal static partial int SetIsNonBlocking(global::System.Runtime.InteropServices.SafeHandle fd, int isNonBlocking)
2214global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
2250internal static partial int GetIsNonBlocking(global::System.Runtime.InteropServices.SafeHandle fd, out bool isNonBlocking)
2260global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
2299internal static partial int SetFD(global::System.Runtime.InteropServices.SafeHandle fd, int flags)
2307global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
2343internal static partial int GetFD(global::System.Runtime.InteropServices.SafeHandle fd)
2351global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
3192internal static partial int FChflags(global::System.Runtime.InteropServices.SafeHandle fd, uint flags)
3200global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
3295internal static partial int LockFileRegion(global::System.Runtime.InteropServices.SafeHandle fd, long offset, long length, global::Interop.Sys.LockType lockType)
3303global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
3891internal static unsafe partial int PRead(global::System.Runtime.InteropServices.SafeHandle fd, byte* buffer, int bufferSize, long fileOffset)
3899global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
3932internal static unsafe partial long ReadV(global::System.Runtime.InteropServices.SafeHandle fd, global::Interop.Sys.IOVector* vectors, int vectorCount)
3940global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
3973internal static unsafe partial long PReadV(global::System.Runtime.InteropServices.SafeHandle fd, global::Interop.Sys.IOVector* vectors, int vectorCount, long fileOffset)
3981global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
4014internal static unsafe partial int PWrite(global::System.Runtime.InteropServices.SafeHandle fd, byte* buffer, int bufferSize, long fileOffset)
4022global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
4055internal static unsafe partial long PWriteV(global::System.Runtime.InteropServices.SafeHandle fd, global::Interop.Sys.IOVector* vectors, int vectorCount, long fileOffset)
4063global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
4096internal static unsafe partial int Read(global::System.Runtime.InteropServices.SafeHandle fd, byte* buffer, int count)
4104global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
4137internal static unsafe partial int ReadFromNonblocking(global::System.Runtime.InteropServices.SafeHandle fd, byte* buffer, int count)
4145global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
4178internal static unsafe partial long WriteV(global::System.Runtime.InteropServices.SafeHandle fd, global::Interop.Sys.IOVector* vectors, int vectorCount)
4186global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
4432internal static partial int FStat(global::System.Runtime.InteropServices.SafeHandle fd, out global::Interop.Sys.FileStatus output)
4441global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
4879internal static unsafe partial int FUTimens(global::System.Runtime.InteropServices.SafeHandle fd, global::Interop.Sys.TimeSpec* times)
4887global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
4920internal static unsafe partial int Write(global::System.Runtime.InteropServices.SafeHandle fd, byte* buffer, int bufferSize)
4928global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
4987internal static unsafe partial int WriteToNonblocking(global::System.Runtime.InteropServices.SafeHandle fd, byte* buffer, int bufferSize)
4995global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
System.Runtime (1)
System.Runtime.Handles (1)
System.Runtime.InteropServices (1)
System.Security.AccessControl (19)
_generated\0\LibraryImports.g.cs (4)
142internal static unsafe partial uint GetSecurityInfoByHandle(global::System.Runtime.InteropServices.SafeHandle handle, uint objectType, uint securityInformation, nint* sidOwner, nint* sidGroup, nint* dacl, nint* sacl, nint* securityDescriptor)
149global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __handle_native__marshaller = new();
180internal static partial uint SetSecurityInfoByHandle(global::System.Runtime.InteropServices.SafeHandle handle, uint objectType, uint securityInformation, byte[] owner, byte[] group, byte[] dacl, byte[] sacl)
188global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __handle_native__marshaller = new();
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\Interop.GetSecurityInfoByHandle.cs (1)
14SafeHandle handle,
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\Interop.SetSecurityInfoByHandle.cs (1)
14SafeHandle handle,
System\Security\AccessControl\NativeObjectSecurity.cs (7)
27protected internal delegate System.Exception? ExceptionFromErrorCode(int errorCode, string? name, SafeHandle? handle, object? context);
64protected NativeObjectSecurity(bool isContainer, ResourceType resourceType, SafeHandle? handle, AccessControlSections includeSections, ExceptionFromErrorCode? exceptionFromErrorCode, object? exceptionContext)
69protected NativeObjectSecurity(bool isContainer, ResourceType resourceType, SafeHandle? handle, AccessControlSections includeSections)
74private static CommonSecurityDescriptor CreateInternal(ResourceType resourceType, bool isContainer, string? name, SafeHandle? handle, AccessControlSections includeSections, bool createByName, ExceptionFromErrorCode? exceptionFromErrorCode, object? exceptionContext)
155private void Persist(string? name, SafeHandle? handle, AccessControlSections includeSections, object? exceptionContext)
318protected sealed override void Persist(SafeHandle handle, AccessControlSections includeSections)
323protected void Persist(SafeHandle handle, AccessControlSections includeSections, object? exceptionContext)
System.Security.Cryptography (22)
System.Security.Cryptography.Pkcs (27)
System.ServiceProcess.ServiceController (1)
System.Threading.AccessControl (3)
System.Windows.Extensions (5)
UIAutomationTypes (4)