Exemplo n.º 1
0
        public void IsOnlineTest()
        {
            bool expected = true;
            bool actual;

            actual = _TSCloud.IsOnline();
            Assert.AreEqual(expected, actual);
        }
Exemplo n.º 2
0
        public frmSignIn()
        {
            // Please check whether internet connection state is online or not on the other thread before authentication.
            if (!cloud_client.IsOnline())
            {
                MessageBox.Show("Please check internet connection");
            }

            InitializeComponent();
        }