-
Contributor
Class to get version info(header only)
Simple class I made to get the version info from any exe you are injected into without needing any version address (like in wow)
[C++] BuildInfo Class - Pastebin.com
Usage is as follows
Code:
//get current build info
const auto currentBuild = BuildInfo();
//compare currentinfo to the info you specify
if (currentBuild.version() == BuildInfo::BuildInfoVersion{ 3, 3, 5, 12340 })
{
//versions match do something
std::cout << currentBuild.toString() << "\n";
}
//print just the build number
std::cout << currentBuild.version().build_number;
Last edited by Icesythe7; 04-04-2020 at 03:17 PM.
Reason: optimized the class so it cant be used improperly to create overhead
-
Post Thanks / Like - 1 Thanks
Corthezz (1 members gave Thanks to Icesythe7 for this useful post)
-
Member
I don't understand, but I think it's very powerful