MulticastDnsOneShotClientResolveAsync Method

Queries for specified records as an asynchronous operation.

Definition

Namespace: ARSoft.Tools.Net.Dns
Assembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
C#
public Task<List<MulticastDnsMessage>> ResolveAsync(
	DomainName name,
	RecordType recordType = RecordType.Any,
	CancellationToken token = default
)

Parameters

name  DomainName
Name, that should be queried
recordType  RecordType  (Optional)
Type the should be queried
token  CancellationToken  (Optional)
The token to monitor cancellation requests

Return Value

TaskListMulticastDnsMessage
All available responses on the local network

See Also