Пример #1
0
 private static async Task OpenListener()
 {
     await Task.Run(() =>
     {
         ListenerManager.SetListener(ListenerManager.ListenerChooser.Nancy);
         var listener = ListenerManager.GetListener();
         listener.Start();
         UtilCmd.WriteTitle($"Local OS Address: [{listener.GetAddress()}]");
     });
 }