ApplicationFactoryConnectToRunningApplicationAsync Method (String, Int32)

Connects to Tekla Structural Designer application running on given address and port

Namespace:  TSD.API.Remoting
Assembly:  TSD.API.Remoting (in TSD.API.Remoting.dll) Version: 0.22.4.0116
Syntax
public static Task<IApplication> ConnectToRunningApplicationAsync(
	string host,
	int port
)

Parameters

host
Type: SystemString
The host application service is running on
port
Type: SystemInt32
The port application service is running on

Return Value

Type: TaskIApplication
The IApplication or null if application cannot be connected
See Also