The OnixS C++ FIX Engine requires a valid license key file for its execution. If there is no license file available or the OnixS C++ FIX Engine is not able to locate it, OnixS::FIX::EngineException will be thrown.
By default, the OnixS C++ FIX Engine looks for the license file(s) in the current working directory for application which is being used the OnixS C++ FIX Engine.
However your license file can be placed anywhere on the file system. To instruct the OnixS C++ FIX Engine about an alternative location of the license file, it's necessary to specify the path to the folder which contain license file(s) using LicenseStore configuration setting.
The LicenseFile configuration setting is deprecated as of FIX Engine 2.76.1.0.
The OnixS C++ FIX Engine doesn't currently exposes any public way to check license for the expiration. Expiration date can be checked by opening license file as regular text file and reviewing its attributes.