Пример #1
0
    // Token: 0x060003DC RID: 988 RVA: 0x0103A92C File Offset: 0x01038B2C
    private static void smethod_0(object object_0)
    {
        NamedPipeServerStream namedPipeServerStream = new NamedPipeServerStream("IHHpipe", PipeDirection.InOut, Class19.int_0);
        int managedThreadId = Thread.CurrentThread.ManagedThreadId;

        namedPipeServerStream.WaitForConnection();
        Console.WriteLine("Client connected on thread[{0}].", managedThreadId);
        try
        {
            GClass17 gclass = new GClass17(namedPipeServerStream);
            string   a      = gclass.method_0();
            if (a == "heyIMgay")
            {
                gclass.method_1("I am the one true gayceptor server!");
                gclass.method_1("H" + Local.MD5HWID);
            }
            if (a == "GetPath")
            {
                gclass.method_1("");
                gclass.method_1(Settings.Default.GamePath);
                Class19.bool_0 = true;
            }
            else
            {
                gclass.method_1("I like dicks");
            }
        }
        catch (IOException ex)
        {
            Console.WriteLine("ERROR: {0}", ex.Message);
        }
        namedPipeServerStream.Close();
    }