UtilitiesIPEndPointFromHostPortString Method |
Given a string/list in the form HOSTNAME:PORT#;HOSTNAME2:PORT2#, this function returns the FIRST IPEndPoint. Defaults to port 80 if not specified.
Warning: DNS resolution is slow, so use this function wisely.
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax public static IPEndPoint IPEndPointFromHostPortString(
string sHostAndPort
)
Public Shared Function IPEndPointFromHostPortString (
sHostAndPort As String
) As IPEndPoint
public:
static IPEndPoint^ IPEndPointFromHostPortString(
String^ sHostAndPort
)
Parameters
- sHostAndPort
- Type: SystemString
HOSTNAME:PORT#;OPTHOST2:PORT2#
Return Value
Type:
IPEndPointAn IPEndPoint or null
See Also