using System.Security.Authentication; namespace MasstransferInfrastructure.Mqtt.Model; /// /// Mqtt 连接参数 /// public class MqttConnectOptions { public string ServerAddress { get; set; } public int Port { get; set; } public string UserName { get; set; } public string Password { get; set; } public bool EnableTls { get; set; } public SslProtocols Protocols { get; set; } public string CaCert { get; set; } public string ClientCert { get; set; } }