public static bool ExtractDefaultTemplate() { bool _result = false; try { if (!Directory.Exists(Path.Combine(FileManager.GetTemplatesFolder(), "_Default ThumbGen Template_"))) { string _path = ExtractPresetFile("_Default ThumbGen Template_.zip", null); try { if (!string.IsNullOrEmpty(_path)) { using (ZipFile _zip = new ZipFile(_path)) { _zip.ExtractAll(FileManager.GetTemplatesFolder()); _result = true; } } } finally { File.Delete(_path); } } } catch (Exception ex) { Loggy.Logger.DebugException("ExtractTemplate:", ex); } return(_result); }