Table of Contents

Class DnsServiceQueries

Namespace
AppleTvControlLibrary.Discovery.Dns
Assembly
AppleTvControlLibrary.Discovery.dll

Helpers for building batched DNS-SD service queries.

public static class DnsServiceQueries
Inheritance
DnsServiceQueries
Inherited Members

Fields

SLEEP_PROXY_SERVICE

Well-known sleep proxy service used to detect sleeping devices.

public const string SLEEP_PROXY_SERVICE = "_sleep-proxy._udp.local"

Field Value

string

Methods

CreateServiceQueries(IReadOnlyList<string>, QueryType)

Creates service request messages, batching services into groups of three.

public static List<byte[]> CreateServiceQueries(IReadOnlyList<string> services, QueryType qtype)

Parameters

services IReadOnlyList<string>

The service types to query for.

qtype QueryType

The query type to use for each question.

Returns

List<byte[]>

The packed query messages.