Solved HWID check APIs?

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

Szaka

Coder
Full Member
Nobleman
Mar 14, 2013
161
718
3
Hello. I googled a lot without result, which APIs may be used as HWID check? Which ones can gather my hardware id?
 

till0sch

Respected Hacker
Dank Tier VIP
Dank Tier Donator
Oct 14, 2012
1,104
12,593
51
Just use the WinAPI
Didn't he just ask WHICH API to be used?

C++:
#include <windows.h>
#include <stdio.h>

int main()
{
   SYSTEM_INFO siSysInfo;

   // Copy the hardware information to the SYSTEM_INFO structure. 

   GetSystemInfo(&siSysInfo); 

   // Display the contents of the SYSTEM_INFO structure. 

   printf("Hardware information: \n");  
   printf("  OEM ID: %u\n", siSysInfo.dwOemId);
   printf("  Number of processors: %u\n", 
      siSysInfo.dwNumberOfProcessors); 
   printf("  Page size: %u\n", siSysInfo.dwPageSize); 
   printf("  Processor type: %u\n", siSysInfo.dwProcessorType); 
   printf("  Minimum application address: %lx\n", 
      siSysInfo.lpMinimumApplicationAddress); 
   printf("  Maximum application address: %lx\n", 
      siSysInfo.lpMaximumApplicationAddress); 
   printf("  Active processor mask: %u\n", 
      siSysInfo.dwActiveProcessorMask); 

   return 0;
}
I think this reads some information about the processor etc. with which you can generate your [unique] hardware ID.

So the API would be GetSystemInfo.

Btw I found this after 30 seconds of googling -_-


SOURCE:
https://stackoverflow.com/questions/9996935/how-to-call-wmi-using-mingw
 

Styx

Coder
Dank Tier Donator
Nobleman
Aug 14, 2012
117
648
3
Didn't he just ask WHICH API to be used?

C++:
#include <windows.h>
#include <stdio.h>

int main()
{
   SYSTEM_INFO siSysInfo;

   // Copy the hardware information to the SYSTEM_INFO structure. 

   GetSystemInfo(&siSysInfo); 

   // Display the contents of the SYSTEM_INFO structure. 

   printf("Hardware information: \n");  
   printf("  OEM ID: %u\n", siSysInfo.dwOemId);
   printf("  Number of processors: %u\n", 
      siSysInfo.dwNumberOfProcessors); 
   printf("  Page size: %u\n", siSysInfo.dwPageSize); 
   printf("  Processor type: %u\n", siSysInfo.dwProcessorType); 
   printf("  Minimum application address: %lx\n", 
      siSysInfo.lpMinimumApplicationAddress); 
   printf("  Maximum application address: %lx\n", 
      siSysInfo.lpMaximumApplicationAddress); 
   printf("  Active processor mask: %u\n", 
      siSysInfo.dwActiveProcessorMask); 

   return 0;
}
I think this reads some information about the processor etc. with which you can generate your [unique] hardware ID.

So the API would be GetSystemInfo.

Btw I found this after 30 seconds of googling -_-


SOURCE:
https://stackoverflow.com/questions/9996935/how-to-call-wmi-using-mingw
:facepalm: No 'GetSystemInfo' is not an API, it is a function within the WinAPI
 

Szaka

Coder
Full Member
Nobleman
Mar 14, 2013
161
718
3
Wow i wonder what did u type in google, thx. need to investigate, i found also deviceiocontrol and its used in one of games i reverse
 

till0sch

Respected Hacker
Dank Tier VIP
Dank Tier Donator
Oct 14, 2012
1,104
12,593
51
Wow i wonder what did u type in google, thx. need to investigate, i found also deviceiocontrol and its used in one of games i reverse
Googled in german but basically just entered "C++ get HWID" or sth. similar :D
 

WiTH

Jr.Coder
Full Member
Nobleman
May 24, 2012
58
458
1
GetVolumeInformation function might be useful for you too
 
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Similar threads

Community Mods