Ejemplo n.º 1
0
        private void WriteJsonToFile(string json, string name)
        {
            var fileName = name + '-' + DateTime.Now.ToString("hhmmss") + ".json";
            var path     = Path.Combine(Directory.GetCurrentDirectory(), fileName);

            File.WriteAllText(path, json);

            EnvUtils.OpenJsonFile(fileName);
        }