private void SetDayZVersion() { if (!string.IsNullOrEmpty(DayZPath)) { DayZVersion = GameVersions.ExtractDayZVersion(DayZPath); } else { DayZVersion = null; } }
public void Update() { try { if (IntPtr.Size == 8) { SetPathsX64(); } else { SetPathsX86(); } Arma2OABetaVersion = GameVersions.ExtractArma2OABetaVersion(Arma2OABetaExe); DayZVersion = GameVersions.ExtractDayZVersion(DayZPath); } catch //(Exception e) { //Disabled for now //_logger.ErrorException("Unable to retrieve Local Machine Info.", e); } }