public int GetMode() { if (connectedToDriver) { byte[] data = new byte[2]; data[0] = 4; GetFeature(data); return data[1]; } return -1; } #endregion