private static bool smethod_2(string string_4, int int_2, string string_5, string string_6, string string_7) { bool flag = false; try { TcpClient tcpClient_0 = new TcpClient(); tcpClient_0.Connect(string_4, int_2); Class60.smethod_0(tcpClient_0); if (Class60.smethod_3(tcpClient_0, "user " + string_5).Contains("331") && Class60.smethod_3(tcpClient_0, "pass " + string_6).Contains("230") && Class60.smethod_3(tcpClient_0, string_7).Contains("200")) { flag = true; } tcpClient_0.Close(); } catch (Exception ex) { Console.WriteLine("TransmitCommand exception: " + ex.Message); } return(flag); }