共用方式為


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 位址的網路部分。

適用於

另請參閱