Socket.SupportsIPv4 Proprietà

Definizione

Attenzione

SupportsIPv4 is obsoleted for this type, please use OSSupportsIPv4 instead. http://go.microsoft.com/fwlink/?linkid=14202

Attenzione

SupportsIPv4 is obsoleted for this type, please use OSSupportsIPv4 instead. https://go.microsoft.com/fwlink/?linkid=14202

Ottiene un valore che indica se il supporto IPv4 è disponibile e abilitato nell'host corrente.

public:
 static property bool SupportsIPv4 { bool get(); };
public static bool SupportsIPv4 { get; }
[System.Obsolete("SupportsIPv4 is obsoleted for this type, please use OSSupportsIPv4 instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public static bool SupportsIPv4 { get; }
[System.Obsolete("SupportsIPv4 is obsoleted for this type, please use OSSupportsIPv4 instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public static bool SupportsIPv4 { get; }
static member SupportsIPv4 : bool
[<System.Obsolete("SupportsIPv4 is obsoleted for this type, please use OSSupportsIPv4 instead. http://go.microsoft.com/fwlink/?linkid=14202")>]
static member SupportsIPv4 : bool
[<System.Obsolete("SupportsIPv4 is obsoleted for this type, please use OSSupportsIPv4 instead. https://go.microsoft.com/fwlink/?linkid=14202")>]
static member SupportsIPv4 : bool
Public Shared ReadOnly Property SupportsIPv4 As Boolean

Valore della proprietà

true se l'host corrente supporta il protocollo IPv4; in caso contrario, false.

Attributi

Commenti

Il sistema operativo può supportare sia i protocolli IPv4 che IPv6.

Si applica a

Vedi anche