UtilHostsRemove(String) Method

Removes a mapping.

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 void Remove(
	string hostName
)

Parameters

hostName  String
The hostname.

Exceptions

FileNotFoundException Hosts file not found.
Exception Hostname is not mapped.

See Also