Components created with AddWindowsDeviceId() and AddWindowsProductId() return null when run in 32 bit processes (target "x86" or "Any CPU") on 64 bit Windows:
var builder = new DeviceIdBuilder()
.OnWindows(windows => windows
.AddWindowsDeviceId()
.AddWindowsProductId());
foreach (var component in builder.Components)
Console.WriteLine($"{component.Key}: {component.Value.GetValue() ?? "null"}");
Components created with
AddWindowsDeviceId()
andAddWindowsProductId()
returnnull
when run in 32 bit processes (target "x86" or "Any CPU") on 64 bit Windows:gives:
Expected behaviour: Return the requested ids.