Get Unique System Identifiers in C#

后端 未结 6 920
栀梦
栀梦 2020-12-14 04:52

what kind of \'unique\' system identifiers can be easily obtained using C# (to hash and then uniquely identify a system)? I could just hash HDD size and things like that but

6条回答
  •  一向
    一向 (楼主)
    2020-12-14 05:09

    You can use the System.Management namespace to get all stuff related to the hardware, ProcessorId, MAC addresses, and a lot more info you can then hash together.

    Take a look at this article:

    http://www.codeproject.com/KB/system/GetHardwareInformation.aspx

提交回复
热议问题