impr: Added telemetry about whether ImHex runs on a corporate machine

This commit is contained in:
WerWolv
2025-01-04 16:11:35 +01:00
parent 71f4f87288
commit 48de609f53
5 changed files with 36 additions and 3 deletions

View File

@@ -582,6 +582,14 @@ namespace hex {
*/
const std::string& getGLRenderer();
/**
* @brief Checks if ImHex is being run in a "Corporate Environment"
* This function simply checks for common telltale signs such as if the machine is joined a
* domain. It's not super accurate, but it's still useful for statistics
* @return True if it is
*/
bool isCorporateEnvironment();
/**
* @brief Checks if ImHex is running in portable mode
* @return Whether ImHex is running in portable mode