xtd::string xtd::uri::idn_host | ( | ) | const |
Gets the RFC 3490 compliant International Domain Name of the host, using Punycode as appropriate. This string, after being unescaped if necessary, is safe to use for DNS resolution.
xtd::invalid_operation_exception | This instance represents a relative URI, and this property is valid only for absolute URIs. |