平安校园
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 4 месеца
1234567891011121314151617
  1. try
  2. {
  3. Console.Title = "SafeCampus̨";
  4. }
  5. catch { }//עᱨҪcatch
  6. Serve.Run(GenericRunOptions.Default
  7. .ConfigureBuilder(hostBuilder =>
  8. {
  9. //hostBuilder.UseWindowsService();//֧עɷ
  10. hostBuilder.ConfigureServices((hostContext, services) =>
  11. {
  12. services.AddMqttClientManager();//mqtt
  13. });
  14. return hostBuilder;
  15. })
  16. );