Exemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            eccstatapiClient api = new eccstatapiClient();
            api.Endpoint.Address = new EndpointAddress("http://localhost/ecc/eccservices/eccstatapi");
            string2intMap map = api.getStatisticsStatus("admin", "system", "1");
            foreach(entry el in map)
            {
                Console.WriteLine(el.key + " === " + el.value);

            }
            api.Close();
        }
Exemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            eccstatapiClient api = new eccstatapiClient();

            api.Endpoint.Address = new EndpointAddress("http://localhost/ecc/eccservices/eccstatapi");
            string2intMap map = api.getStatisticsStatus("admin", "system", "1");

            foreach (entry el in map)
            {
                Console.WriteLine(el.key + " === " + el.value);
            }
            api.Close();
        }