API
Dns.GetHostAddressesAsync
Resolves a hostname to IP addresses; results depend on the environment.
Formal Syntax & Structure
csharp syntaxcsharp
await Dns.GetHostAddressesAsync(host, token)Working Example
Example Snippetcsharp
// Documentary fragment; see linked lesson for context.await Dns.GetHostAddressesAsync(host, token)