Application |
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: 24.0.1.45+53a79b69d75fb81c51fcd389e0bdcf241e5b9f7c
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
TaskIApplicationThe IApplication or null if application cannot be connected
See Also