Windows .exe with Ghotz Auth at https://keyghotz.space/api/1.2/.
C++ manual — easy step-by-step → Add with AI (prompt)
↓ Download C++ SDK (ZIP) — ready-made ghotz_auth + example main.cpp.
name, ownerid, set version (e.g. 1.0).Download ghotz-cpp.zip or browse ghotz-cpp/. Included files:
| File | Purpose |
|---|---|
include/ghotz_auth.h | Main API class |
src/ghotz_auth.cpp | HTTP (WinHTTP) |
include/ghotz_config.h | Your app name, ownerid, version |
example/main.cpp | Sample login / register / license |
ghotz::Auth app("YOUR_APP", "YOUR_OWNERID", "1.0", "https://keyghotz.space/api/1.2/");
// Or use ghotz_config.h — see downloads/ghotz-cpp/README.txt
Search the project for any old host and replace with keyghotz.space.
app.init();
if (!app.response.success) {
std::cout << app.response.message;
exit(1);
}
app.regstr(username, password, licenseKey, ghotz::Auth::hwid());
app.login(username, password, ghotz::Auth::hwid());
app.license(licenseKey, ghotz::Auth::hwid());
if (app.response.success) {
// Start your program
}
| Method | Purpose |
|---|---|
GhotzApp.var("x") | App variable from dashboard |
GhotzApp.log("msg") | Send log line |
GhotzApp.webhook(id, params) | Trigger webhook |
GhotzApp.checkblack() | Blacklist check |
Typical flow for a PC tool with ImGui:
init() then login(), regstr(), or license().response.success is true; show response.message on failure.ImGui::Render during requests.In the dashboard use Manage Apps → Copy AI prompt for a ready-made prompt for Cursor/ChatGPT.
secret in the EXE.version in code must match dashboard.