![]() |
|
[.NET] Get Unique ID (Like HWID) Not using WMI - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] Get Unique ID (Like HWID) Not using WMI (/showthread.php?tid=1379104) |
Get Unique ID (Like HWID) Not using WMI - ubbelol - Jun 14, 2011 Here's a neat function I made to retrieve an unique ID for every computer.. The only difference from most of the others is that this doesn't use WMI to retrieve it. Here you go: Code private string GetUID()APIs & struct: Code [DllImport("hid.dll")]* - christiano - Jun 14, 2011 Nice work man Thanks a lot :) * - ra1d - Jun 14, 2011 Nice job dude ;) Added it to my thread: https://hackforums.net/showthread.php?tid=1350578 * - ubbelol - Jun 14, 2011 (Jun 14, 2011 04:57 AM)Rand0mâ„¢ Wrote: Nice job dude ;) Cool. :) Don't know how much people will learn that much from this but okay. * - tflo - Jun 16, 2011 Thanks a lot! On average this is 100ms faster then HWID (in my own case), tested in my program DataVault. Thought I should post some pictures: HWID
![]() UID ![]() * - netw0rk tr0jan - Jun 16, 2011 very nice man....thanks a lot * - Venom Page - Jun 16, 2011 Don't use P/Invoke, it requires some ... uhm specific permissions.😅 * - ubbelol - Jun 16, 2011 (Jun 16, 2011 12:31 AM)TylerFlo Wrote: Thanks a lot! On average this is 100ms faster then HWID (in my own case), tested in my program DataVault. Well WMI is pretty slow. :P |