Class ClientInitMessage
An instance of this class is sent from the client to the server as a response to the ServerInitMessage. It allows a client to select the connection mode (ConnectionMode).
Inheritance
ClientInitMessage
Inherited Members
Namespace: DuetAPI.Connection.InitMessages
Assembly: DuetAPI.dll
Syntax
public class ClientInitMessage
Properties
Mode
Desired mode of the new connection
Declaration
public ConnectionMode Mode { get; set; }
Property Value
Type | Description |
---|---|
ConnectionMode |
Version
Version number of the client-side API
Declaration
public int Version { get; set; }
Property Value
Type | Description |
---|---|
int |
Remarks
If this version is incompatible to DCS, a IncompatibleVersionException is returned when a connection is being established