示例#1
0
        private async Task <bool> DoPing(ServerListDataItem server)
        {
            var comm      = new ServerCommunicator();
            var prevState = server.State;

            server.State = await comm.PingServer(server);

            return(server.State != prevState);
        }