-
Notifications
You must be signed in to change notification settings - Fork 0
/
Global.cs
35 lines (32 loc) · 986 Bytes
/
Global.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HWIDSPOOFER
{
class Global
{
public static bool PCName = false;
public static bool GUID = false;
public static bool HWIDserial = false;
public static bool ProductID = false;
public static bool MacAddress = false;
public static bool InstallTime = false;
public static bool InstallDate = false;
public static bool HwProfileGUID = false;
public static void Restart()
{
StartShutDown("-f -r -t 5");
}
private static void StartShutDown(string param)
{
ProcessStartInfo proc = new ProcessStartInfo();
proc.FileName = "cmd";
proc.WindowStyle = ProcessWindowStyle.Hidden;
proc.Arguments = "/C shutdown " + param;
Process.Start(proc);
}
}
}