UtilHostsIsDisabled(String) Method
Checks whether a HostName is already disabled.
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 bool IsDisabled(
string hostName
)
Public Shared Function IsDisabled (
hostName As String
) As Boolean
Dim hostName As String
Dim returnValue As Boolean
returnValue = UtilHosts.IsDisabled(hostName)
public:
static bool IsDisabled(
String^ hostName
)
static member IsDisabled :
hostName : string -> bool
No code example is currently available or this language may not be supported.
- hostName String
-
The hostname.
Boolean if the specified Hostname is mapped; otherwise,
.
FileNotFoundException
|
Hosts file not found.
|
Exception
|
Hostname is not mapped.
|