private void Decrypt(string s) { try { rtbFileContent.Text = UCrypto.Decrypt(s); } catch (Exception ex) { TestDebugger.Instance.WriteError(ex); MessageForm.Show(ex); } }
private static void WriteZip(string filePath) { UZip.WriteZip(filePath, UCrypto.Decrypt(File.ReadAllText(filePath))); }