次の方法で共有


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

プロパティ値

現在のホストが IPv4 プロトコルをサポートしている場合は true。それ以外の場合は false

属性

注釈

オペレーティング システムでは、IPv4 プロトコルと IPv6 プロトコルの両方がサポートされている場合があります。

適用対象

こちらもご覧ください