UtilHostsIsMapped(String) Method

Checks whether a HostName is already mapped.

Definition

Namespace: DevCase.Core.Networking.Security
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static bool IsMapped(
	string hostName
)

Parameters

hostName  String
The hostname.

Return Value

Boolean
if the specified Hostname is mapped; otherwise, .

Exceptions

FileNotFoundException Hosts file not found.

See Also