Table of Contents

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

port int?

The TPAP-advertised port, when present.

pakeModes IReadOnlyList<int>

The PAKE modes advertised by discovery, when present.

tls int?

The advertised TLS mode, when present.

dac int?

The advertised DAC mode, when present.

noc int?

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

IReadOnlyList<int>

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?