Click or drag to resize

Connection Methods

The Connection type exposes the following members.

Public methodConnect
Connect to the ED Device
Public methodStatic memberCode exampleCreate
Supply a connection IP address or com port and the correct IConnection concrete class will be created and returned
IConnection c1 = Connection.Create(""); // returns a TCPConnection class IConnection c2 = Connection.Create("COM6", 9600); //returns a SerialConnection class with the baud rate set to 9600
Public methodDisconnect
Disconnect from the ED Device
Public methodDispose
Dispose of this Brainboxes device
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString
(Overrides ObjectToString.)
See Also