Custom Nodes Square9.CustomNode SDK Classes Current: Engine Class Engine Class Represents the executing engine, containing methods and properties pertaining to engine information. public class Engine CODE ExampleThe following example demonstrates retrieving a few config values and a CaptureApi client from the engine helper class. public class Example : CustomNode { var mongoConnection = Engine.GetEngineConfigSetting("Mongo"); var captureApi = Engine.GetCaptureApiClient(); } CODE Properties string ServiceName The service name of the executing engine. Methods GetCaptureApiClient MethodGets an HttpClient object configured to make calls to the CaptureApi associated with the executing engine.GetEngineConfigSetting MethodGets a value from the engine app.config file by key name.GetSquare9ApiClient MethodGets an HttpClient object configured to make calls to a Square9Api. ×