Qt - HWID Çekme

X

xr4zz3rs

Qt için basit bir HWID çekme kodları;
C++:
    HW_PROFILE_INFO hwProfileInfo;
    QString hwid;
    if(GetCurrentHwProfile(&hwProfileInfo) != NULL){
        hwid = QString::fromWCharArray(hwProfileInfo.szHwProfileGuid);
        ui->HwiText->setPlainText(hwid);
        printf("Hardware Profile: %s\n", hwProfileInfo.szHwProfileName);
    }


Umarım işinize yaramıştır :)
 
1

1Enjoy

Forward
Owner
Joined
Jul 29, 2019
Messages
1,023
Reaction score
5,449
Üst kısma

C++:
#define _WIN32_WINNT 0x0400
#include <windows.h>
#include <stdio.h>

Kodları eklenmeli unutmuşsun sanırım.

Faydalı :)
 
SPAM IS FORBIDDEN!
  • SPAMMERS ARE BANNED FROM THE FORUM AND CANNOT USE ANY OF THE CHEATS
  • For example: thanks, thx, very good, asdqwe, working, ty and so on!
  • For example: Writing the same message over and over. thanks, thx and so on!
  • Copying and copying someone else's message is prohibited.
  • It is forbidden to send messages to increase the number of comments on threads that you have no knowledge of.
  • Write your own opinion when commenting!
  • If you see spam message, please let us know with the REPORT button!

Tema düzenleyici

Top Bottom