平安校园
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

3 个月前
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. );