Closed Koncord closed 6 months ago
Thanks for this PR. Looks great. I'm absolutely swamped with work at the moment so it may take me a few days to find the time to fully review, merge, and release this - but I do appreciate the PR, I like the idea, and I plan to merge and release it ASAP. Thanks!
This PR introduces WmiLight support to the DeviceId, it adds support for NativeAOT. Key changes include:
WindowsDeviceIdBuilder
DeviceId.Windows.Mmi
Components:WmiLightDeviceIdComponent
WmiLightMacAddressDeviceIdComponent
WmiLightSystemDriveSerialNumberDeviceIdComponent
InternalsVisibleTo
in_InternalsVisibleTo.cs
to includeDeviceId.Windows.WmiLight
.WmiLightSystemDriveSerialNumberDeviceIdComponent
inWmiAndMmiDriveSerialNumberPerfTests
.Backward Compatibility:
AddSystemSerialDriveNumber
method is retained for backward compatibility.Dependencies:
WmiLight
(https://github.com/MartinKuschnik/WmiLight) library for WMI interactions.Please review the changes and provide feedback.