How to uniquely identify computer using C#?

后端 未结 5 2030
春和景丽
春和景丽 2020-12-03 00:36

How to uniquely identify computer (mainboard) using C#(.Net/Mono, local application)?

Edition. We can identify mainboard in .Net using something lik

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-03 00:55

    Write a function that takes a few unique hardware parameters as input and generates a hash out of them.

    For example, Windows activation looks at the following hardware characteristics:

    • Display Adapter
    • SCSI Adapter
    • IDE Adapter (effectively the motherboard)
    • Network Adapter (NIC) and its MAC Address
    • RAM Amount Range (i.e., 0-64mb, 64-128mb, etc.)
    • Processor Type
    • Processor Serial Number
    • Hard Drive Device
    • Hard Drive Volume Serial Number (VSN)
    • CD-ROM / CD-RW / DVD-ROM

    You can pick up a few of them to generate your unique computer identifier.

提交回复
热议问题