Socket.SupportsIPv4 Vlastnost

Definice

Upozornění

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

Upozornění

SupportsIPv4 has been deprecated. Use OSSupportsIPv4 instead.

Upozornění

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

Upozornění

Use OSSupportsIPv4 instead

Získá hodnotu označující, jestli je podpora IPv4 dostupná a povolená na aktuálním hostiteli.

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

Hodnota vlastnosti

Boolean

truepokud aktuální hostitel podporuje protokol IPv4; v opačném případě . false

Atributy

Poznámky

Operační systém může podporovat protokoly IPv4 i IPv6.

Platí pro

Viz také