Exemplo n.º 1
0
        private static async Task <bool> SendWifiStats(string url)
        {
            var wifi = new WifiBuilder().Get();
            var json = JsonConvert.SerializeObject(wifi, Formatting.Indented);

            await RequestMaker.MakePutRequest(json, url);

            return(true);
        }
Exemplo n.º 2
0
        private static async Task <bool> SendMemoryStats(string url)
        {
            var memory = new RamBuilder().Get();
            var json   = JsonConvert.SerializeObject(memory, Formatting.Indented);

            await RequestMaker.MakePutRequest(json, url);

            return(true);
        }