Git Product home page Git Product logo

simple-hwid-checker's Introduction

Simple HWID Checker

The Simple HWID Checker is a hardware identification or HWID tool that collects system-specific information such as hard drive data, computer name, CPU hash, GPU information, total system memory, MAC address, and BIOS serial number.

How to Use

  1. Compile the C++ code.
  2. Run the compiled executable.
  3. The console will display various hardware information of the system.

Code Overview

This application is written in C++ and uses various Windows APIs, as well as DirectX and WMI libraries, to fetch system-specific data.

Primary functions:

  • getGraphicsCardInfo(): Retrieves the graphics card info.
  • getTotalSystemMemory(): Retrieves the total system memory.
  • getMACaddress(): Retrieves the MAC address of the system.
  • getBiosSerialNumber(): Retrieves the BIOS serial number.

The main() function makes calls to all these functions and fetches information about the system's volume, computer name, CPU hash, and more.

int main()
{   
    // Fetches the GPU information
    std::vector<std::string> graphicsCards = getGraphicsCardInfo();
    // ...

    // Fetches the total system memory
    DWORDLONG totalMemoryMB = getTotalSystemMemory();
    // ...

    // Fetches the MAC address
    std::string macAddress = getMACaddress();
    // ...

    // Fetches the BIOS serial number
    std::string biosSerial = getBiosSerialNumber();
    // ...
}

Dependencies

This project relies on the following Windows libraries:

  • Windows.h
  • Iphlpapi.h
  • Assert.h
  • tchar.h
  • intrin.h
  • dxgi.h
  • Psapi.h
  • comdef.h
  • Wbemidl.h

Make sure to link the following libraries in your project settings:

  • dxgi.lib
  • iphlpapi.lib
  • wbemuuid.lib

Credit

This project is inspired by and has improved upon the original HWID Info Grabber by HeathHowren, available at this link. The following improvements have been made:

  • Addition of network information gathering, making use of the Iphlpapi.h library.
  • Incorporation of debug assertions via the Assert.h library for better debugging.
  • Utilisation of the DirectX Graphics Infrastructure (dxgi.h) for enhanced graphics-related operations.
  • Inclusion of process and system information access via Psapi.h.

License

This project is licensed under MIT License.

simple-hwid-checker's People

Contributors

0vm avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.