Click or drag to resize
FactoryGetConnection Method (String, String)
Gets an HTTP connection to an innovator instance (or proxy) at the given URL

Namespace: Innovator.Client
Assembly: Innovator.Client (in Innovator.Client.dll) Version: 2016.1.15.1759 (2016.01.15.1759)
Syntax
public static IRemoteConnection GetConnection(
	string url,
	string userAgent
)

Parameters

url
Type: SystemString
URL of the innovator instance (or proxy)
userAgent
Type: SystemString
User agent string to use for the connection

Return Value

Type: IRemoteConnection
A connection object
Examples
C#
using Innovator.Client;

var conn = Factory.GetConnection("URL", "USER_AGENT");
conn.Login(new ExplicitCredentials("DATABASE", "USER_NAME", "PASSWORD"));
See Also