UtilHostsRemove(String) Method
Removes a mapping.
Namespace: DevCase.Core.Networking.SecurityAssembly: 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
)
Public Shared Sub Remove (
hostName As String
)
Dim hostName As String
UtilHosts.Remove(hostName)
public:
static void Remove(
String^ hostName
)
static member Remove :
hostName : string -> unit
No code example is currently available or this language may not be supported.
Parameters
- hostName String
-
The hostname.
FileNotFoundException
|
Hosts file not found.
|
Exception
|
Hostname is not mapped.
|