MulticastDnsOneShotClientResolveAsync Method
Queries for specified records as an asynchronous operation.
Namespace: ARSoft.Tools.Net.DnsAssembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
public Task<List<MulticastDnsMessage>> ResolveAsync(
DomainName name,
RecordType recordType = RecordType.Any,
CancellationToken token = default
)
Public Function ResolveAsync (
name As DomainName,
Optional recordType As RecordType = RecordType.Any,
Optional token As CancellationToken = Nothing
) As Task(Of List(Of MulticastDnsMessage))
public:
Task<List<MulticastDnsMessage^>^>^ ResolveAsync(
DomainName^ name,
RecordType recordType = RecordType::Any,
CancellationToken token = CancellationToken()
)
member ResolveAsync :
name : DomainName *
?recordType : RecordType *
?token : CancellationToken
(* Defaults:
let _recordType = defaultArg recordType RecordType.Any
let _token = defaultArg token new CancellationToken()
*)
-> Task<List<MulticastDnsMessage>>
- name DomainName
- Name, that should be queried
- recordType RecordType (Optional)
- Type the should be queried
- token CancellationToken (Optional)
- The token to monitor cancellation requests
TaskListMulticastDnsMessage All available responses on the local network