Get Demo
  • Windows
  • MacOS
  • Linux

Built-in functions


In addition to class methods and properties of the scripting language, VMProtect provides users with various functions for performing basic operations. These include general system functions for working with strings, dates, and numbers; processing the application command line; and displaying messages. It also includes specialized functions for working with the VMProtect core and watermarks:

namespace vmprotect {
	Core core(); // returns the VMProtect core instance
	string extractFilePath(string name); // extracts the file path
	string extractFileName(string name); // extracts the file name
	string extractFileExt(string name); // extracts the file extension
	table commandLine(); // returns the command line arguments
	FFILibrary openLib(string name); // opens a library
};
Last updated 11 days ago