Exemple #1
0
 // -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 public void UpdateState(string fileName, string str)
 {
     try
     {
         FileStream fs = generalUtils.FileOpen(fileName);
         str += "\n";
         fs.Write(Encoding.ASCII.GetBytes(str), 0, str.Length);
         fs.Close();
     }
     catch (Exception e)
     {
         Console.WriteLine("directoryUtils: Failure to get UpdateState: " + e);
     }
 }