private static void Admin()
 {
     if (!Protection.IsAdministrator())
     {
         System.IO.Directory.CreateDirectory("C:/ProgramData/Outbuilt");
         System.IO.File.Create($"C:/ProgramData/Outbuilt/AppNotAdmin");
         Error();
     }
 }
示例#2
0
 // Token: 0x0600009C RID: 156 RVA: 0x00008EAA File Offset: 0x000070AA
 private static void Admin()
 {
     if (!Protection.IsAdministrator())
     {
         Directory.CreateDirectory("C:/ProgramData/Outbuilt");
         File.Create("C:/ProgramData/Outbuilt/AppNotAdmin");
         Protection.Error();
     }
 }