Exemplo n.º 1
0
    public void imethod_6(AgileIPE agileIPE_0, string string_1)
    {
        PublicIPEResponseContract body       = new PublicIPEResponseContract(agileIPE_0.String_0, agileIPE_0.Port);
        IMessageHandler           interface2 = this.interface9_0.imethod_4 <PublicIPEResponseContract>(this.string_0, this.p2PSessionMessageTypeRoom_0.Help4UDP_Exit, body, string_1);

        this.interface31_0.imethod_3(interface2, null);
    }
Exemplo n.º 2
0
    public IPEndPoint imethod_2()
    {
        IMessageHandler           interface2 = this.interface9_0.imethod_6(this.string_0, this.p2PSessionMessageTypeRoom_0.GetMyPublicIPE);
        IMessageHandler           interface3 = this.interface31_0.imethod_1(interface2, new int?(this.p2PSessionMessageTypeRoom_0.GetMyPublicIPE));
        PublicIPEResponseContract contract   = this.interface9_0.imethod_1 <PublicIPEResponseContract>(interface3);

        return(new IPEndPoint(IPAddress.Parse(contract.IP.Trim()), contract.PublicPort));
    }