UtilHostsGetMappingsFromIP Method

Gets a ListT instance containing the mapping info of all mappings matching the specified IP address.

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 List<HostsMappingInfo> GetMappingsFromIP(
	string ip
)

Parameters

ip  String

[Missing <param name="ip"/> documentation for "M:DevCase.Core.Networking.Security.UtilHosts.GetMappingsFromIP(System.String)"]

Return Value

ListHostsMappingInfo

[Missing <returns> documentation for "M:DevCase.Core.Networking.Security.UtilHosts.GetMappingsFromIP(System.String)"]

Exceptions

FileNotFoundException Hosts file not found.
FormatException Invalid IP adress.

See Also