Socket.SupportsIPv4 Eigenschaft

Definition

Achtung

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

Achtung

SupportsIPv4 has been deprecated. Use OSSupportsIPv4 instead.

Achtung

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

Achtung

Use OSSupportsIPv4 instead

Ruft einen Wert ab, der angibt, ob IPv4-Unterstützung verfügbar und auf dem aktuellen Host aktiviert ist.

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

Eigenschaftswert

Boolean

true, wenn der aktuelle Host das Protokoll IPv4 unterstützt, andernfalls false.

Attribute

Hinweise

Das Betriebssystem kann sowohl IPv4- als auch IPv6-Protokolle unterstützen.

Gilt für

Siehe auch