-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMiscData.cs
28 lines (26 loc) · 1.01 KB
/
MiscData.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
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Net.NetworkInformation;
namespace EN2NGui
{
internal static class MiscData
{
public static readonly string PWD = AppDomain.CurrentDomain.BaseDirectory;
public static bool isAdmin = true;
public static bool haveTAP = true;
public static bool haveExe = true;
public static readonly Random random = new Random(Guid.NewGuid().GetHashCode());
public static readonly Bitmap spl;
public static Settings settings = null;
public static bool isSplashExitAbornomal = false;
public static SortedDictionary<string, string> TAPs = new SortedDictionary<string, string>();
public static NetworkInterface currentTAP = null;
public static bool isN2NmatchHash = true;
public static string inbuiltN2NHash = null;
static MiscData()
{
spl = (Bitmap)Properties.Resources.ResourceManager.GetObject("sp" + random.Next(0, 3));
}
}
}