private long getAndUpdateOrderConfig() { long key = (long.Parse(ConfigurationRoot.Element("OrderKey").Value)); ConfigurationRoot.Element("OrderKey").Value = (key + 1).ToString(); ConfigurationRoot.Save(ConfigurationPath); return(key); }
public int getFee() { return(int.Parse(ConfigurationRoot.Element("Fee").Value)); }
public void setFee(int fee) { ConfigurationRoot.Element("Fee").Value = fee.ToString(); ConfigurationRoot.Save(ConfigurationPath); }