Click or drag to resize

Connection Methods

The Connection type exposes the following members.

Methods
  NameDescription
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
Examples
IConnection c1 = Connection.Create("192.168.0.5"); // 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
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
ToString
(Overrides ObjectToString.)
Top
See Also