Skip to content

Instantly share code, notes, and snippets.

0x410c 0x410c

Block or report user

Report or block 0x410c

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@0x410c
0x410c / hardwareID
Created Jul 24, 2017
generating hardware id on windows systems, c++ 54-7-2017
View hardwareID
// generating hardware id on windows systems, c++ 54-7-2017
std::string getHDDSerial()
{
DWORD disk_serialINT;
GetVolumeInformationA(NULL, NULL, NULL, &disk_serialINT, NULL, NULL, NULL, NULL);
return std::to_string(disk_serialINT);
}
std::string getMac()
{
You can’t perform that action at this time.