ApplicationFactoryConnectToRunningApplicationAsync(Int32, CancellationToken) Method

Connects to Tekla Structural Designer application running on local machine on given 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(
	int port,
	CancellationToken cancellationToken = default
)

Parameters

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