public static HostsMappingInfo GetMappingFromHostname(
string hostname
)
Public Shared Function GetMappingFromHostname (
hostname As String
) As HostsMappingInfo
Dim hostname As String
Dim returnValue As HostsMappingInfo
returnValue = UtilHosts.GetMappingFromHostname(hostname)
public:
static HostsMappingInfo^ GetMappingFromHostname(
String^ hostname
)
static member GetMappingFromHostname :
hostname : string -> HostsMappingInfo
No code example is currently available or this language may not be supported.
[Missing <param name="hostname"/> documentation for "M:DevCase.Core.Networking.Security.UtilHosts.GetMappingFromHostname(System.String)"]
[Missing <returns> documentation for "M:DevCase.Core.Networking.Security.UtilHosts.GetMappingFromHostname(System.String)"]
FileNotFoundException | Hosts file not found. |
Exception | Hostname is not mapped. |