Click or drag to resize

IPv4HostToIPAddressAsync Method

Returns the IP address of this hostname.

Namespace:  Demo3D.IO
Assembly:  Demo3D.IO (in Demo3D.IO.dll) Version: 15.0.2.11458
Syntax
C#
public static Task<IPAddress?> HostToIPAddressAsync(
	bool sync,
	string hostname
)

Parameters

sync
Type: SystemBoolean
If true, the Task returned is guaranteed to be complete.
hostname
Type: SystemString
The hostname to lookup.

Return Value

Type: TaskIPAddress
The first IP address of the hostname.
See Also