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(); }
public void Init() { this._client = new Client.Client(LMcloudServer); }