public void SetDefaults()
{
ConfigFileVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
Language = LanguageType.En;
ForceCPUExtension = CPUExtensionType.Automatic;
BitcoinAddress = "";
WorkerName = "worker1";
ServiceLocation = 0;
AutoStartMining = false;
//LessThreads = 0;
DebugConsole = false;
HideMiningWindows = false;
MinimizeToTray = false;
BenchmarkTimeLimits = new BenchmarkTimeLimitsConfig();
DeviceDetection = new DeviceDetectionConfig();
DisableAMDTempControl = false;
DisableDefaultOptimizations = false;
AutoScaleBTCValues = true;
StartMiningWhenIdle = false;
LogToFile = true;
LogMaxFileSize = 1048576;
ShowDriverVersionWarning = true;
DisableWindowsErrorReporting = true;
NVIDIAP0State = false;
MinerRestartDelayMS = 500;
ethminerDefaultBlockHeight = 2000000;
SwitchMinSecondsFixed = 90;
SwitchMinSecondsDynamic = 30;
SwitchMinSecondsAMD = 90;
MinIdleSeconds = 60;
DisplayCurrency = "USD";
ApiBindPortPoolStart = 4000;
MinimumProfit = 0;
EthminerDagGenerationType = DagGenerationType.SingleKeep;
DownloadInit = false;
//ContinueMiningIfNoInternetAccess = false;
IdleWhenNoInternetAccess = true;
Use3rdPartyMiners = Use3rdPartyMiners.NOT_SET;
DownloadInit3rdParty = false;
AllowMultipleInstances = true;
}