Esempio n. 1
0
        private static async Task RunClient(string command, string[] parameters)
        {
            try
            {
                var client = new LMConnect.Client.Client("http://localhost");

                Miner result = await client.GetMinerAsync("P0YF0OFlXkW2fdy9HPZg5A");

                System.Console.WriteLine("OK - {0}.", result.Id);
            }
            catch (Exception ex)
            {
                System.Console.WriteLine("NOK {0}.", ex.Message);
            }

            System.Console.ReadLine();
        }
Esempio n. 2
0
		public void Init()
		{
			this._client = new Client.Client(LMcloudServer);
		}
Esempio n. 3
0
 public void Init()
 {
     this._client = new Client.Client(LMcloudServer);
 }
Esempio n. 4
0
        private static async Task RunClient(string command, string[] parameters)
        {
            try
            {
                var client = new LMConnect.Client.Client("http://localhost");

                Miner result = await client.GetMinerAsync("P0YF0OFlXkW2fdy9HPZg5A");

                System.Console.WriteLine("OK - {0}.", result.Id);
            }
            catch (Exception ex)
            {
                System.Console.WriteLine("NOK {0}.", ex.Message);
            }

            System.Console.ReadLine();
        }