Socket.SupportsIPv4 Eigenschap

Definitie

Let op

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

Let op

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

Hiermee wordt een waarde opgehaald die aangeeft of IPv4-ondersteuning beschikbaar is en is ingeschakeld op de huidige host.

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

Waarde van eigenschap

true als de huidige host het IPv4-protocol ondersteunt; anders, false.

Kenmerken

Opmerkingen

Het besturingssysteem ondersteunt mogelijk zowel IPv4- als IPv6-protocollen.

Van toepassing op

Zie ook