Leggi in inglese

Condividi tramite


UriHostNameType Enumerazione

Definizione

Definisce i tipi di nomi host per il metodo CheckHostName(String).

C#
public enum UriHostNameType
Ereditarietà
UriHostNameType

Campi

Basic 1

L'host è impostato, ma non è possibile determinare il tipo.

Dns 2

Il nome host è un nome host di tipo DNS (domain name system).

IPv4 3

Il nome host è un indirizzo IP (Internet Protocol) host versione 4.

IPv6 4

Il nome host è un indirizzo IP (Internet Protocol) host versione 6.

Unknown 0

Il tipo del nome host non è fornito.

Commenti

L'enumerazione UriHostNameType definisce i valori che il Uri.CheckHostName metodo può restituire.

Si applica a

Prodotto Versioni
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8
.NET Standard 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 2.0, 2.1
UWP 10.0