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
servicesIReadOnlyList<Service>deepSleepboolmodelstring
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
Model
Gets the device model, from the "_device-info._tcp.local" service, if present.
public string? Model { get; }
Property Value
Services
Gets the services discovered in this response.
public IReadOnlyList<Service> Services { get; }