Ejemplo n.º 1
0
        public void ConnectionTest()
        {
            _xbox.Connect(AssemblyGlobals.TestXbox.Ip);
            _xbox.Disconnect();

            // subsequent connections should reconnect
            for (int i = 0; i < 5; i++)
            {
                _xbox.Connect(AssemblyGlobals.TestXbox.Ip);
            }

            for (int i = 0; i < 5; i++)
            {
                _xbox.Reconnect();
            }
        }