/
GetEngineConfigSetting Method
GetEngineConfigSetting Method
Gets a value from the engine app.config file by key name.
public string GetEngineConfigSetting(string key);
Classes: Engine
Parameters
string key
Key of the config value.
Returns
string
String value from the config file.
Example
The following example demonstrates retrieving the CaptureAPI url from the executing engine app.config file.
var captureApiUrl = Engine.GetEngineConfigSetting("CaptureApi");
Remarks
This method returns a null if no key is found that corresponds with the given parameter.
Although this method provides shorthand for retrieving conig values from the engine web.config file, the full configuration file is loaded in the executing app domain and can be accessed through other means such as the ConfigurationManager class in .NET framework.
, multiple selections available,
Related content
GetStringSetting Method
GetStringSetting Method
More like this
GetSetting Method
GetSetting Method
More like this
GetListSetting Method
GetListSetting Method
More like this
CaptureEngine Class
CaptureEngine Class
More like this
Engine Class
Engine Class
More like this
LoadConfig Method
LoadConfig Method
More like this