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