ThingWorx Edge .NET SDK > ThingWorx Edge .NET SDK Reference > .NET SDK: ConnectedThingClient Class
  
.NET SDK: ConnectedThingClient Class
The ConnectedThingClient class manages the connection to the ThingWorx platform as well as the VirtualThing instances, and requires the ClientConfigurator to configure its parameters. A ConnectedThingClient can contain multiple instances of the VirtualThing class, as demonstrated in the Steam Sensor Example for the .NET SDK.
ConnectedThingClient Methods
The following methods are available on the ConnectedThingClient class (“the client”):
bindThing(VirtualThing thing) — Binds one VirtualThing to a RemoteThing on ThingWorx platform. The name of the platform-side thing must match the name of the VirtualThing. Once the client-side and platform-side things are bound, data from properties, services, and events can be exchanged. The bind occurs only if the connection has been established.
As of release 5.6.4 of the .NET SDK, you can use bulk binding to bind multiple entities at once. bindThings takes a list of things to enable you to easily create a bulk binding operation.
isConnected() — Returns true if the client is connected to an instance of the ThingWorx platform.
isShutdown() — Returns true if the client is shut down.
shutdown() — Stops the client and the connection monitor.
start() — Starts communications and operations for the client. Also starts the connection monitor that keeps the connection to the ThingWorx platform alive. If the connection fails, the client tries to reconnect, waiting the number of seconds specified for the reconnect interval (ReconnectInterval parameter of the ClientConfigurator.
Client Objects
The way that the .NET SDK manages client objects changed in version 5.5.0. The framework supports only a single client object at a time. Although more than one client can be instantiated, the following methods operate on ALL instantiated client objects:
connect
disconnect
shutdown
isConnected
isShutdown
isConnectionInProgress
stopConnectionAttempt