コード例 #1
0
 private void Close()
 {
     if (Client != null)
     {
         try
         {
             Client.Close();
         }
         catch
         {
         }
         finally
         {
             Stream = null;
             Client = null;
         }
     }
 }
コード例 #2
0
ファイル: HTTPConnection.cs プロジェクト: ztl19930409/AR
 private void Close()
 {
     LastProcessedUri = null;
     if (Client != null)
     {
         try
         {
             Client.Close();
         }
         catch
         {
         }
         finally
         {
             Stream = null;
             Client = null;
         }
     }
 }