ApplicationFactoryConnectToRunningApplicationAsync(String, Int32, CancellationToken) Method

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: 23.1.0.154
Syntax
public static Task<IApplication?> ConnectToRunningApplicationAsync(
	string host,
	int port,
	CancellationToken cancellationToken = default
)

Parameters

host  String
The host application service is running on
port  Int32
The port application service is running on
cancellationToken  CancellationToken  (Optional)
The optional cancellation token

Return Value

TaskIApplication
The IApplication or null if application cannot be connected
See Also
Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.
Previous
Next