CanDragonDevice.Connect
Prototype
CanDragonDevice Connect(string serial, bool disableRTCUpdate, string? clientName = null);
Description
Opens a device by FTDI serial number and returns a managed session.
Parameters
| Parameter | Direction | Type | Description |
|---|---|---|---|
serial | in | string | Device serial (Unicode). Use |
disableRTCUpdate | in | bool | True to skip sending host date/time on connect. |
clientName | in | — | Optional display name for this client (null = anonymous). In CDNet-mediated mode this name appears as |
Return value
Connected device instance.
Example
// See Quick Start and Program Flow for a full session example.
// CanDragonDevice.Connect(...);