IPInformation クラス

定義

ネットワーク上の IP アドレスとアダプターの間の関連付けを表します。

public ref class IPInformation sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class IPInformation final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class IPInformation
Public NotInheritable Class IPInformation
継承
Object Platform::Object IInspectable IPInformation
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)

プロパティ

NetworkAdapter

IP アドレスに関連付けられているネットワーク アダプターを取得します。

PrefixLength

IP アドレスのプレフィックスまたはネットワーク部分の長さを取得します。

適用対象

こちらもご覧ください