Table of Contents

Class DiscoveryResult

Namespace
KasaTapoClient
Assembly
KasaTapoClient.dll

Represents a single discovery response from a device.

public sealed class DiscoveryResult
Inheritance
DiscoveryResult
Inherited Members

Properties

Alias

Gets the user-visible device alias, when available.

public string? Alias { get; }

Property Value

string

DeviceId

Gets the device identifier, when available.

public string? DeviceId { get; }

Property Value

string

DeviceType

Gets the inferred device family.

public DeviceType DeviceType { get; }

Property Value

DeviceType

Host

Gets the device host that produced the discovery response.

public string Host { get; }

Property Value

string

Model

Gets the model identifier, when available.

public string? Model { get; }

Property Value

string

ProtocolVersion

Gets the advertised protocol version, when present.

public int? ProtocolVersion { get; }

Property Value

int?

RawJson

Gets the raw JSON payload returned by the device.

public string RawJson { get; }

Property Value

string

TpapMetadata

Gets the advertised TPAP metadata, when present.

public TpapDiscoveryMetadata? TpapMetadata { get; }

Property Value

TpapDiscoveryMetadata

TpapPreferred

Gets a value indicating whether discovery marked TPAP as preferred.

public bool? TpapPreferred { get; }

Property Value

bool?