共用方式為


INetworkBeta.IsPrivateIPAddressInNetwork(String) Method

Definition

Checks if the specified private IP address is within this network's address space.

public bool IsPrivateIPAddressInNetwork (string ipAddress);
abstract member IsPrivateIPAddressInNetwork : string -> bool
Public Function IsPrivateIPAddressInNetwork (ipAddress As String) As Boolean

Parameters

ipAddress
String

An IP address.

Returns

Applies to