Class TpapDiscoveryMetadata
- Namespace
- KasaTapoClient
- Assembly
- KasaTapoClient.dll
Represents TPAP-specific discovery metadata when present.
public sealed class TpapDiscoveryMetadata
- Inheritance
-
TpapDiscoveryMetadata
- Inherited Members
Constructors
TpapDiscoveryMetadata(int?, IReadOnlyList<int>?, int?, int?, int?)
Initializes a new instance of the TpapDiscoveryMetadata class.
public TpapDiscoveryMetadata(int? port, IReadOnlyList<int>? pakeModes, int? tls, int? dac, int? noc)
Parameters
portint?The TPAP-advertised port, when present.
pakeModesIReadOnlyList<int>The PAKE modes advertised by discovery, when present.
tlsint?The advertised TLS mode, when present.
dacint?The advertised DAC mode, when present.
nocint?The advertised NOC mode, when present.
Properties
Dac
Gets the advertised DAC mode.
public int? Dac { get; }
Property Value
- int?
Noc
Gets the advertised NOC mode.
public int? Noc { get; }
Property Value
- int?
PakeModes
Gets the advertised PAKE modes.
public IReadOnlyList<int>? PakeModes { get; }
Property Value
Port
Gets the TPAP-advertised port.
public int? Port { get; }
Property Value
- int?
Tls
Gets the advertised TLS mode.
public int? Tls { get; }
Property Value
- int?