public void DeleteAllTracks() { if (!IsConnected) { return; } using (var session = new SerialPortSession(_commport)) { var cmd = new DeleteAllTracksCommand(); cmd.Execute(session.Port); } }