Fix #13: Don't hide initialize errors

This commit is contained in:
Gary Sharp
2013-10-17 15:31:50 +11:00
parent faee1e724e
commit 5f9a49bca3
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ namespace Disco.Client.Interop
private static NetworkAdapterInfo PrimaryLanNetworkAdapter { get; set; }
private static NetworkAdapterInfo PrimaryWlanNetworkAdapter { get; set; }
static Network()
public static void Initialize()
{
// Get All Adapters
RetrieveLanAdapters();
+1 -1
View File
@@ -18,7 +18,7 @@ namespace Disco.Client.Interop
public static string DeviceUUID { get; private set; }
public static bool DeviceIsPartOfDomain { get; private set; }
static SystemAudit()
public static void Initialize()
{
// Get BIOS Information
try
+4
View File
@@ -59,6 +59,10 @@ namespace Disco.Client
{
Presentation.DelayUI = true; // Add Delays on Error
}
// Initialize Interop
Interop.SystemAudit.Initialize();
Interop.Network.Initialize();
}
public static bool WhoAmI()