public void Control(CalloutControlCodes ControlCode) { consumerInstance.Control(ControlCode); }
/// <summary> /// The Control function (DhcpControlHook) is called by Microsoft DHCP Server when the DHCP Server /// service is started, stopped, paused, or continued. The function should not block. /// </summary> /// <remarks> /// https://msdn.microsoft.com/en-us/library/windows/desktop/aa363276(v=vs.85).aspx /// </remarks> /// <param name="ControlCode">Specifies the control event that triggered the notification.</param> public void Control(CalloutControlCodes ControlCode) { WriteLog($"Control: {ControlCode}"); }