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
DeviceId
Gets the device identifier, when available.
public string? DeviceId { get; }
Property Value
DeviceType
Gets the inferred device family.
public DeviceType DeviceType { get; }
Property Value
Host
Gets the device host that produced the discovery response.
public string Host { get; }
Property Value
Model
Gets the model identifier, when available.
public string? Model { get; }
Property Value
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
TpapMetadata
Gets the advertised TPAP metadata, when present.
public TpapDiscoveryMetadata? TpapMetadata { get; }
Property Value
TpapPreferred
Gets a value indicating whether discovery marked TPAP as preferred.
public bool? TpapPreferred { get; }
Property Value
- bool?