I've used the following query to fetch hard disk serial number.
ManagementObjectSearcher("SELECT * FROM Win32_PhysicalMedia");
It returns different serial number for admin user and non-admin user as follows:
admin - WD-WCAYUS426947 non-admin - 2020202057202d44435759415355323439363734
When tried to put the non-admin serial into hex to char converter it gave W -DCWYASU249674, which is actually a character swap on every 2 characters.
Any idea to fetch the correct serial without manupulating the un-hexed format please?