// ... using (var nusbio = new Nusbio( serialNumber: serialNumber, webServerPort: 1964)) { nusbio.UrlEvent += LDeviceUrlEvent; Cls(nusbio); while (nusbio.Loop()) { } } // ... static void LDeviceUrlEvent(string message) { ConsoleEx.Bar(0, 12, "Http Request:{0}".FormatString(message), ConsoleColor.Cyan, ConsoleColor.DarkCyan); } // ...