public void Dispose() { try { clientSocket.Shutdown(SocketShutdown.Both); } catch { } try { try { mySocketEventArgs_0.Completed -= method_1; mySocketEventArgs_0.SetBuffer(null, 0, 0); mySocketEventArgs_0.Dispose(); } catch { if (mySocketEventArgs_0 != null) { mySocketEventArgs_0.Dispose(); } } } catch { } try { clientSocket.Close(); list_0 = null; arc4_0 = (arc4_1 = null); } catch { } try { clientSocket.Dispose(); } catch { } }
protected virtual void Dispose(bool disposing) { if (!bool_1) { if (disposing) { try { timer_0.Enabled = false; timer_0.Stop(); timer_0.Dispose(); } catch { } try { timer_3.Enabled = false; timer_3.Stop(); timer_3.Dispose(); } catch { } try { timer_1.Enabled = false; timer_1.Stop(); timer_1.Dispose(); } catch { } try { timer_2.Enabled = false; timer_2.Stop(); timer_2.Dispose(); } catch { } try { tcpClient_0.GetStream().Close(); } catch { } try { proxySocket_0.Close(); proxySocket_0.Dispose(); } catch { } try { tcpClient_0.Close(); } catch { } arc4_0 = (arc4_1 = null); } bool_1 = true; } }