Click or drag to resize

ApiSessionConnectToServer Method

Connects to an articy:server

Namespace:  Articy.Api
Assembly:  ArticyApp (in ArticyApp.dll) Version: 1.0.0
Syntax
C#
public void ConnectToServer(
	string aHost,
	int aPort
)

Parameters

aHost
Type: SystemString
This is the name of the computer that runs the articy:server.
aPort
Type: SystemInt32
The port, the articy:server is listening on. By default this is 16707.
Remarks
Just like when working with the articy:draft GUI your program needs to connect to an articy:server. You will be disconnected from a previous server when this method is called in a connected state.
See Also