public void PauseResumeSession() { if (_torrentSession.is_paused()) { _torrentSession.resume(); } else { _torrentSession.pause(); } }