public static void WriteFile(string filePath, string fileContent)
 {
     try
     {
         UFile.RemoveReadOnly(filePath);
         UZip.WriteZip(filePath, fileContent);
     }
     catch (Exception ex)
     {
         MessageForm.Show(ex, fileContent);
         TestDebugger.Instance.WriteLog(ex);
         TestDebugger.Instance.WriteLog(fileContent);
         throw ex;
     }
 }
Exemplo n.º 2
0
 public void Write(string value)
 {
     //Write(UZip.ZipString(value), 0, value.Length);
     UZip.WriteZip(Path, value);
 }
Exemplo n.º 3
0
        private void ZipFile(string fileName)
        {
            string s = InfinitySettings.Streams.InfinityReader.ReadToEnd(fileName);

            UZip.WriteZip(fileName, s);
        }