Пример #1
0
 private void Close()
 {
     if (Client != null)
     {
         try
         {
             Client.Close();
         }
         catch
         {
         }
         finally
         {
             Stream = null;
             Client = null;
         }
     }
 }
Пример #2
0
 private void Close()
 {
     LastProcessedUri = null;
     if (Client != null)
     {
         try
         {
             Client.Close();
         }
         catch
         {
         }
         finally
         {
             Stream = null;
             Client = null;
         }
     }
 }