Latest dotnet device management library additions that I find quite useful and want to highlight:
- A method to translate a Win32 error code to the error message string: https://github.com/nefarius/Nefarius.Utilities.DeviceManagement/blob/master/docs/nefarius.utilities.devicemanagement.exceptions.win32exception.md#getmessagefornullableint32
- A method that translates NTSTATUS values to the related Win32 error: https://github.com/nefarius/Nefarius.Utilities.DeviceManagement/blob/master/docs/nefarius.utilities.devicemanagement.util.ntstatusutil.md#convertntstatustowin32erroruint32
Available in v3.22.0 and later: https://www.nuget.org/packages/Nefarius.Utilities.DeviceManagement/3.22.0
Happy coding!