Skip to content
API Documentation
BastionGuard™
activation.hpp
Go to the documentation of this file.
1/*
2 * BastionGuard™ Recovery Data
3 * Copyright (C) 2025–2026 Calogero Scarnà. All rights reserved.
4 *
5 * Proprietary activation support for donation-based distribution.
6 */
7
8#pragma once
9
10#include <string>
11
13
15 bool active = false;
16 bool expired = false;
17 std::string machine_id;
18 std::string motherboard_serial;
19 std::string owner;
20 std::string edition;
21 std::string expires;
22 std::string message;
23};
24
25std::string activation_engine_id();
26std::string machine_id();
27std::string motherboard_serial();
28std::string activation_key_path();
29ActivationStatus validate_key(const std::string& raw_key);
31bool save_key_if_valid(const std::string& raw_key, std::string& error_message);
32
33} // namespace BastionGuard::Activation
ActivationStatus validate_key(const std::string &raw_key)
std::string motherboard_serial()
ActivationStatus validate_installed_key()
std::string activation_key_path()
bool save_key_if_valid(const std::string &raw_key, std::string &error_message)
std::string activation_engine_id()