Table of Contents

Class Response

Namespace
AppleTvControlLibrary.Discovery.Mdns
Assembly
AppleTvControlLibrary.Discovery.dll

Represents the response to an MDNS request.

public sealed class Response
Inheritance
Response
Inherited Members

Remarks

Initializes a new instance of the Response class.

Constructors

Response(IReadOnlyList<Service>, bool, string?)

Represents the response to an MDNS request.

public Response(IReadOnlyList<Service> services, bool deepSleep, string? model)

Parameters

services IReadOnlyList<Service>
deepSleep bool
model string

Remarks

Initializes a new instance of the Response class.

Properties

DeepSleep

Gets a value indicating whether the responding device appears to be a sleep proxy.

public bool DeepSleep { get; }

Property Value

bool

Model

Gets the device model, from the "_device-info._tcp.local" service, if present.

public string? Model { get; }

Property Value

string

Services

Gets the services discovered in this response.

public IReadOnlyList<Service> Services { get; }

Property Value

IReadOnlyList<Service>