CaptureEngine Class
Represents the executing GlobalCapture engine, containing methods and properties pertaining to engine information.
public class CaptureEngine : Engine
Example
The following example demonstrates retrieving a config value and a CaptureApi client from the engine helper class.
public class Example : CaptureNode
{
var mongoConnection = Engine.GetEngineConfigSetting("Mongo");
var captureApi = Engine.GetCaptureApiClient();
}
Properties
Methods
- GetCaptureApiClient Method
Gets an HttpClient object configured to make calls to the CaptureApi associated with the executing engine.
- GetEngineConfigSetting Method
Gets a value from the engine app.config file by key name.
- GetSquare9ApiClient Method
Gets an HttpClient object configured to make calls to a Square9Api.