Thanks for responding, but I keep getting this error no matter how I launch the program
WIndows 8.1 64 bit
---------------------------
---------------------------
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Management.ManagementException: Not found
at System.Management.ThreadDispatch.Start()
at System.Management.ManagementScope.Initialize()
at System.Management.ManagementObject.Initialize(Boolean getObject)
at System.Management.ManagementClass.GetInstances(EnumerationOptions options)
at System.Management.ManagementClass.GetInstances()
at CustomGameToolkit.GameToolkitLib.clsIP.IsDhcpEnabled()
at CustomGameToolkit.GameToolkitLib.clsIP.CheckBlackList()
at CustomGameToolkit.frmMain..ctor()
at CustomGameToolkit.Program.Main()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Main(String[] )
---------------------------
OK
---------------------------