private void GenerateInputs() { //Create the files with the updated inputs for the server lock (_thisLock) { //Create the file with the inputs updated string FileOupPut = InputFilePath + "\\" + _prefixImageName + "_" + DateTime.UtcNow.ToString("yyyyMMddHHmmssfff") + ".txt"; StreamWriter myWriter = new System.IO.StreamWriter(FileOupPut); myWriter.WriteLine(_inputs); myWriter.Close(); myWriter.Dispose(); //Initialize the inputs _inputs.Initialize(); } }