Feature #3: Server SKU support for Enrolment
The Disco Client (which is launched by the Bootstrapper) supports Windows Server SKUs. Removes dependancy on WLANAPI.DLL. Updates to enrolment allows for successful addition to System Critial objects (eg. DC/PDCs) into Disco without making any changes to AD objects.
This commit is contained in:
@@ -21,7 +21,15 @@ namespace Disco.Client.Interop
|
||||
if (NetworkAdapters.Count > 0)
|
||||
{
|
||||
// Only Retrieve Wlan Adapters if at least one adapter was found by WMI
|
||||
RetrieveWlanAdapters();
|
||||
try
|
||||
{
|
||||
RetrieveWlanAdapters();
|
||||
}
|
||||
catch (DllNotFoundException)
|
||||
{
|
||||
// Ignore DllNotFoundException
|
||||
// This which indicates 'Wlanapi.dll' isn't present (eg. Windows Servers)
|
||||
}
|
||||
|
||||
// Determine Primary Adapters
|
||||
|
||||
|
||||
Reference in New Issue
Block a user