77 types derived from SafeHandle
Infrastructure.Common (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)
507 references to SafeHandle
Microsoft.AspNetCore.Cryptography.Internal (7)
Microsoft.AspNetCore.DataProtection (2)
Microsoft.Build.Framework (1)
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 (38)
System.Formats.Tar (4)
System.IO.Compression (5)
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 (16)
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)
44global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
113internal static unsafe partial global::Interop.Error Accept(global::System.Runtime.InteropServices.SafeHandle socket, byte* socketAddress, int* socketAddressLen, nint* acceptedFd)
118global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
147private 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)
152global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
206internal static unsafe partial global::Interop.Error Connect(global::System.Runtime.InteropServices.SafeHandle socket, byte* socketAddress, int socketAddressLen)
211global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
240internal 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)
245global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
304internal static partial int SetIsNonBlocking(global::System.Runtime.InteropServices.SafeHandle fd, int isNonBlocking)
310global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
345internal static partial int GetIsNonBlocking(global::System.Runtime.InteropServices.SafeHandle fd, out bool isNonBlocking)
353global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
391internal static partial int SetFD(global::System.Runtime.InteropServices.SafeHandle fd, int flags)
397global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
432internal static partial int GetFD(global::System.Runtime.InteropServices.SafeHandle fd)
438global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
505internal static unsafe partial global::Interop.Error GetBytesAvailable(global::System.Runtime.InteropServices.SafeHandle socket, int* available)
510global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
539internal static unsafe partial global::Interop.Error GetAtOutOfBandMark(global::System.Runtime.InteropServices.SafeHandle socket, int* atMark)
544global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
589internal static unsafe partial global::Interop.Error GetPeerName(global::System.Runtime.InteropServices.SafeHandle socket, byte* socketAddress, int* socketAddressLen)
594global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
623internal static unsafe partial global::Interop.Error GetSocketErrorOption(global::System.Runtime.InteropServices.SafeHandle socket, global::Interop.Error* socketError)
628global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
703internal static unsafe partial global::Interop.Error GetSockName(global::System.Runtime.InteropServices.SafeHandle socket, byte* socketAddress, int* socketAddressLen)
708global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
737internal 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)
742global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
779internal static unsafe partial global::Interop.Error GetRawSockOpt(global::System.Runtime.InteropServices.SafeHandle socket, int optionLevel, int optionName, byte* optionValue, int* optionLen)
784global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
846internal static unsafe partial global::Interop.Error GetLingerOption(global::System.Runtime.InteropServices.SafeHandle socket, global::Interop.Sys.LingerOption* option)
851global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
880internal static unsafe partial global::Interop.Error SetLingerOption(global::System.Runtime.InteropServices.SafeHandle socket, global::Interop.Sys.LingerOption* option)
885global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
922internal 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)
930global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __in_fd_native__marshaller = new();
931global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __out_fd_native__marshaller = new();
968internal static partial global::Interop.Error SetSendTimeout(global::System.Runtime.InteropServices.SafeHandle socket, int millisecondsTimeout)
973global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
1002internal static partial global::Interop.Error SetReceiveTimeout(global::System.Runtime.InteropServices.SafeHandle socket, int millisecondsTimeout)
1007global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
1036internal static partial int FStat(global::System.Runtime.InteropServices.SafeHandle fd, out global::Interop.Sys.FileStatus output)
1043global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
1159internal static partial global::Interop.Error Listen(global::System.Runtime.InteropServices.SafeHandle socket, int backlog)
1164global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
1193internal static unsafe partial global::Interop.Error GetIPv4MulticastOption(global::System.Runtime.InteropServices.SafeHandle socket, global::Interop.Sys.MulticastOption multicastOption, global::Interop.Sys.IPv4MulticastOption* option)
1198global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
1227internal static unsafe partial global::Interop.Error SetIPv4MulticastOption(global::System.Runtime.InteropServices.SafeHandle socket, global::Interop.Sys.MulticastOption multicastOption, global::Interop.Sys.IPv4MulticastOption* option)
1232global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
1261internal static unsafe partial global::Interop.Error GetIPv6MulticastOption(global::System.Runtime.InteropServices.SafeHandle socket, global::Interop.Sys.MulticastOption multicastOption, global::Interop.Sys.IPv6MulticastOption* option)
1266global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
1295internal static unsafe partial global::Interop.Error SetIPv6MulticastOption(global::System.Runtime.InteropServices.SafeHandle socket, global::Interop.Sys.MulticastOption multicastOption, global::Interop.Sys.IPv6MulticastOption* option)
1300global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
1345internal static unsafe partial int Read(global::System.Runtime.InteropServices.SafeHandle fd, byte* buffer, int count)
1351global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
1383internal static unsafe partial int ReadFromNonblocking(global::System.Runtime.InteropServices.SafeHandle fd, byte* buffer, int count)
1389global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
1421internal 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)
1426global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
1455internal 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)
1460global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
1489internal 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)
1494global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
1548internal 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)
1553global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
1582internal 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)
1587global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
1624internal static unsafe partial global::Interop.Error SetRawSockOpt(global::System.Runtime.InteropServices.SafeHandle socket, int optionLevel, int optionName, byte* optionValue, int optionLen)
1629global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
1658internal static partial global::Interop.Error Shutdown(global::System.Runtime.InteropServices.SafeHandle socket, global::System.Net.Sockets.SocketShutdown how)
1663global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __socket_native__marshaller = new();
1803internal static unsafe partial int Write(global::System.Runtime.InteropServices.SafeHandle fd, byte* buffer, int bufferSize)
1809global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
1864internal static unsafe partial int WriteToNonblocking(global::System.Runtime.InteropServices.SafeHandle fd, byte* buffer, int bufferSize)
1870global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
System.Net.WebSockets (3)
System.Private.CoreLib (70)
_generated\2\LibraryImports.g.cs (36)
2002internal static partial int SetIsNonBlocking(global::System.Runtime.InteropServices.SafeHandle fd, int isNonBlocking)
2008global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
2043internal static partial int GetIsNonBlocking(global::System.Runtime.InteropServices.SafeHandle fd, out bool isNonBlocking)
2051global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
2089internal static partial int SetFD(global::System.Runtime.InteropServices.SafeHandle fd, int flags)
2095global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
2130internal static partial int GetFD(global::System.Runtime.InteropServices.SafeHandle fd)
2136global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
2878internal static partial int FChflags(global::System.Runtime.InteropServices.SafeHandle fd, uint flags)
2884global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
2975internal static partial int LockFileRegion(global::System.Runtime.InteropServices.SafeHandle fd, long offset, long length, global::Interop.Sys.LockType lockType)
2981global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
3532internal static unsafe partial int PRead(global::System.Runtime.InteropServices.SafeHandle fd, byte* buffer, int bufferSize, long fileOffset)
3538global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
3570internal static unsafe partial long ReadV(global::System.Runtime.InteropServices.SafeHandle fd, global::Interop.Sys.IOVector* vectors, int vectorCount)
3576global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
3608internal static unsafe partial long PReadV(global::System.Runtime.InteropServices.SafeHandle fd, global::Interop.Sys.IOVector* vectors, int vectorCount, long fileOffset)
3614global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
3646internal static unsafe partial int PWrite(global::System.Runtime.InteropServices.SafeHandle fd, byte* buffer, int bufferSize, long fileOffset)
3652global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
3684internal static unsafe partial long PWriteV(global::System.Runtime.InteropServices.SafeHandle fd, global::Interop.Sys.IOVector* vectors, int vectorCount, long fileOffset)
3690global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
3722internal static unsafe partial int Read(global::System.Runtime.InteropServices.SafeHandle fd, byte* buffer, int count)
3728global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
3760internal static unsafe partial int ReadFromNonblocking(global::System.Runtime.InteropServices.SafeHandle fd, byte* buffer, int count)
3766global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
3798internal static unsafe partial long WriteV(global::System.Runtime.InteropServices.SafeHandle fd, global::Interop.Sys.IOVector* vectors, int vectorCount)
3804global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
4034internal static partial int FStat(global::System.Runtime.InteropServices.SafeHandle fd, out global::Interop.Sys.FileStatus output)
4041global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
4448internal static unsafe partial int FUTimens(global::System.Runtime.InteropServices.SafeHandle fd, global::Interop.Sys.TimeSpec* times)
4454global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
4486internal static unsafe partial int Write(global::System.Runtime.InteropServices.SafeHandle fd, byte* buffer, int bufferSize)
4492global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __fd_native__marshaller = new();
4547internal static unsafe partial int WriteToNonblocking(global::System.Runtime.InteropServices.SafeHandle fd, byte* buffer, int bufferSize)
4553global::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)
126internal 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)
131global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::System.Runtime.InteropServices.SafeHandle>.ManagedToUnmanagedIn __handle_native__marshaller = new();
160internal static partial uint SetSecurityInfoByHandle(global::System.Runtime.InteropServices.SafeHandle handle, uint objectType, uint securityInformation, byte[] owner, byte[] group, byte[] dacl, byte[] sacl)
166global::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)
13SafeHandle handle,
src\runtime\src\libraries\Common\src\Interop\Windows\Advapi32\Interop.SetSecurityInfoByHandle.cs (1)
13SafeHandle handle,
System\Security\AccessControl\NativeObjectSecurity.cs (7)
42protected internal delegate System.Exception? ExceptionFromErrorCode(int errorCode, string? name, SafeHandle? handle, object? context);
83protected NativeObjectSecurity(bool isContainer, ResourceType resourceType, SafeHandle? handle, AccessControlSections includeSections, ExceptionFromErrorCode? exceptionFromErrorCode, object? exceptionContext)
88protected NativeObjectSecurity(bool isContainer, ResourceType resourceType, SafeHandle? handle, AccessControlSections includeSections)
97private static CommonSecurityDescriptor CreateInternal(ResourceType resourceType, bool isContainer, string? name, SafeHandle? handle, AccessControlSections includeSections, bool createByName, ExceptionFromErrorCode? exceptionFromErrorCode, object? exceptionContext)
181private void Persist(string? name, SafeHandle? handle, AccessControlSections includeSections, object? exceptionContext)
359protected sealed override void Persist(SafeHandle handle, AccessControlSections includeSections)
364protected 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)