Бөлісу құралы:


Socket.SupportsIPv4 Свойство

Определение

Внимание!

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

Внимание!

SupportsIPv4 has been deprecated. Use OSSupportsIPv4 instead.

Внимание!

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

Возвращает значение, указывающее, доступна ли на текущем узле поддержка протокола IPv4 и включена ли эта функция.

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

Значение свойства

Значение true, если текущий узел поддерживает протокол IPv4; в противном случае — значение false.

Атрибуты

Комментарии

Операционная система может поддерживать протоколы IPv4 и IPv6.

Применяется к

См. также раздел