https://learn.microsoft.com/en-us/dotnet/api/system.threading.waithandleextensions.setsafewaithandle?view=netframework-4.8.1&viewFallbackFrom=net-10.0
WaitHandleExtensions.SetSafeWaitHandle(WaitHandle, SafeWaitHandle) Method (System.Threading) |...
Sets a safe handle for a native operating system wait handle.
methodsystemthreading