windows - Persistent system / processor ID that stays across reinstalls and drive changes (C#) -
i'm looking produce unique id embedded systems manage. systems running windows embedded 7 standard , .net 4.0. ids must:
- be relatively unique -- each embedded system running on same motherboard, drive, etc. , can't have collisions.
- persist across reinstalls -- these computers reimaged new versions of our software regularly.
- cannot rely on disk serial number -- we're not using real disks, rather cf cards cf sata adapter, , cf cards swapped out occasionally.
also, have multiple nics in machine, relying on on-board nic mac address work if can tell me how identify nic on-board vs usb device. after further research looks isn't possible within scope of managed code.
what's best way accomplish this?
i suggest use wmi obtain information machine's cpu, using win32_processor class. can construct unique id machine attributes such processorid
, uniqueid
.
this way using each machine's cpu persisten "store" machine id.
Comments
Post a Comment