public bool CheckIsWork() { try { Leaf.xNet.HttpResponse mainPageContent = httpRequest.Get(BASE_URL); if (mainPageContent.ToString().Length > 0) { return(true); } } catch (Exception) { } return(false); }
public double GetRate() { Parser parser = new Parser(current.ToString()); return(MoneyHelper.ToDouble(parser.GetPlaceholder("btc_amount"))); }