MasstransferExporter/MasstransferInfrastructure/Mqtt/Model/MqttConnectOptions.cs

25 lines
518 B
C#
Raw Normal View History

2024-06-03 08:35:49 +00:00
using System.Security.Authentication;
namespace MasstransferInfrastructure.Mqtt.Model;
/// <summary>
/// Mqtt 连接参数
/// </summary>
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; }
}