Class AuthorityUtility
public static class AuthorityUtility
- Inheritance
-
AuthorityUtility
- Inherited Members
Methods
TryParse(string, out string?, out int)
Parse an authority, accepted separator are ':' and '/'.
public static bool TryParse(string rawValue, out string? host, out int port)
Parameters
Returns
TryParseIp(string, out IPAddress?, out int)
Parse an authority, accepted separator are ':' and '/'. Authority must me a valid IPv4 or IPv6 address.
public static bool TryParseIp(string rawValue, out IPAddress? ip, out int port)