Esempio n. 1
0
 /// <summary>Logs out from the server and closes the connection</summary>
 /// <returns>A request by which the log out process can be tracked</returns>
 /// <remarks>
 ///   You should call this method and wait for the request to finish before
 ///   disposing of the connection to gracefully leave the CDDB server.
 /// </remarks>
 public Request Quit()
 {
     Requests.CddbQuitRequest request = new Requests.CddbQuitRequest(
         this.protocol
         );
     request.Start();
     return(request);
 }
Esempio n. 2
0
 /// <summary>Logs out from the server and closes the connection</summary>
 /// <returns>A request by which the log out process can be tracked</returns>
 /// <remarks>
 ///   You should call this method and wait for the request to finish before
 ///   disposing of the connection to gracefully leave the CDDB server.
 /// </remarks>
 public Request Quit() {
   Requests.CddbQuitRequest request = new Requests.CddbQuitRequest(
     this.protocol
   );
   request.Start();
   return request;
 }