public AvalonConfig(string configPath) { _iniWrapper = new IniWrapper(configPath); _minerInfo = new MinerInfo(this); }
public void RunApplication(string fileName, MinerInfo config) { BfgMinerRunner runner = new BfgMinerRunner(fileName, config.GetCommandLine2()); ThreadPool.QueueUserWorkItem(new WaitCallback(runner.Run), this); }