Checks the status of the connected device.
[DllImport("RGUSBdrv.dll", CallingConvention = CallingConvention.Cdecl)] public static extern byte DeviceIsReady();
> 0 if the device is connected.
public static bool Connected { get { bool ok = DeviceIsReady() > 0 ? true : DeviceIsReady() > 0; return ok; } }
Last updated 2 years ago