AcTools.Processes.ScreenshotFormatChange.ScreenshotFormatChange C# (CSharp) Method

ScreenshotFormatChange() public method

public ScreenshotFormatChange ( string acRoot, string value ) : System
acRoot string
value string
return System
        public ScreenshotFormatChange(string acRoot, string value) {
            _cfgFile = Path.Combine(FileUtils.GetSystemCfgDirectory(acRoot), "assetto_corsa.ini");
            var iniFile = new IniFile(_cfgFile);
            _originalFormat = iniFile["SCREENSHOT"].GetPossiblyEmpty("FORMAT");
            iniFile["SCREENSHOT"].Set("FORMAT", value);
            iniFile.Save();
        }
ScreenshotFormatChange