public void Pause() { string resp = SendCommand ("disable\n"); if (resp == "DONE\n") OnPaused (); else throw new Exception ("'disable' command produced error"); }