Skip to main content

AccountBackend

Namespace: Busy.Bar

MQTT backend configuration the device uses to connect to BUSY Cloud.

public sealed record class AccountBackend : System.IEquatable`1[[Busy.Bar.AccountBackend, BusyBar, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance Object → AccountBackend
Implements IEquatable<AccountBackend>
Attributes NullableContextAttribute, NullableAttribute

Properties​

ServerUrl​

MQTT server URL to connect to.

public string ServerUrl { get; init; }

Property Value​

String

ClientCertType​

Client certificate type to use.

public ClientCertType ClientCertType { get; init; }

Property Value​

ClientCertType

IgnoreServerCert​

Whether to ignore (skip validating) the MQTT server's certificate.

public bool IgnoreServerCert { get; init; }

Property Value​

Boolean

Constructors​

AccountBackend(String, ClientCertType, Boolean)​

MQTT backend configuration the device uses to connect to BUSY Cloud.

public AccountBackend(string ServerUrl, ClientCertType ClientCertType, bool IgnoreServerCert)

Parameters​

ServerUrl String
MQTT server URL to connect to.

ClientCertType ClientCertType
Client certificate type to use.

IgnoreServerCert Boolean
Whether to ignore (skip validating) the MQTT server's certificate.