Constructor
Constructs a new Session with the specified parameters.
Syntax
Session::Session( const std::string& licenseOrganization, const std::string& licenseKey, std::string bin_path = ".", bool in_process = false, Configuration config = {} )
Arguments
licenseOrganization
|
The organization name under which this installation of KeyView is licensed. This value is the company name that appears at the top of the license key provided by Micro Focus. Add the text exactly as it appears in this file. |
licenseKey
|
This value is the appropriate license key provided by Micro Focus. The key is a string that contains 31 characters. Type these characters exactly as they appear in the license key file, including the dashes, but do not include any leading or trailing spaces. |
bin_path
|
The directory of the KeyView installation. |
in_process
|
Used to determine whether to filter in process or out of process. |
config
|
The set of configurations for this session. |
Discussion
- A constructor also exists which does not take the license arguments, but does take the other arguments. If you use that constructor, then the license is obtained from the
kv.lic
file in yourbin
directory. Micro Focus recommends that you pass your license information into the constructor instead of using thekv.lic
file on disk.