Esempio n. 1
0
 public void Dispose()
 {
     if (FTPCommandListner != null)
     {
         bClose = true;
         Thread.CurrentThread.Join(1000);
         if (FTPCommandListner.Pending())
         {
             FTPCommandListner.Stop();
         }
         //FTPCommandListner.Stop();
     }
 }