Some multiplayer games that implement the PunkBuster anti cheat system get cheaters off the server using hardware bans. Volume serial number.Another problem is that you must have administrator rights to get this info trough WMI, I solved that problem with windows service that uses WMI and send info to application(s).Here are some of interesting WMI queries:Hard discs serials: SELECT SerialNumber FROM Win32PhysicalMedia where SerialNumber nullBIOS serial: SELECT SerialNumber FROM Win32BIOS where SerialNumber nullCPU serial: SELECT ProcessorID FROM Win32ProcessorNIC MAC: SELECT MACAddress FROM Win32NetworkAdapterConfiguration WHERE IPEnabled = Truebtw. Downside of this method is that on some machines for several reasons some of this information are not available, but you can combine info from that 4 source and at least one will be there, but WMI on some machines simply doesn't work as expected and you must have some sort of fallback, something that surley work on all machines eg. You can use WMI and get NIC MAC address, HDD serial (not volume serial), CPU ID and BIOS ID.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |