메소드 | 설명 | |
---|---|---|
AsInt ( [ thisAddr ) : int |
Represents an IPv4 address as a signed integer.
|
|
AsUInt ( [ thisAddr ) : uint |
Represents an IPv4 address as an unsigned integer.
|
|
IsIP ( [ ipString ) : bool |
Checks to see if the specified string is a valid IPv4 address.
|
|
IsLocal ( [ addr ) : bool |
Checks whether an IP address may belong to LAN or localhost (192.168.0.0/16, 10.0.0.0/24, or 127.0.0.0/24).
|
|
Match ( [ thisAddr, uint otherAddr, uint mask ) : bool | ||
NetMask ( byte range ) : uint |
Creates an IPv4 mask for the given CIDR range.
|
메소드 | 설명 | |
---|---|---|
RangeMax ( [ thisAddr, byte range ) : |
||
RangeMin ( [ thisAddr, byte range ) : |
public static IsIP ( [ ipString ) : bool | ||
ipString | [ | String representation of the IPv4 address. |
리턴 | bool |
public static Match ( [ thisAddr, uint otherAddr, uint mask ) : bool | ||
thisAddr | [ | |
otherAddr | uint | |
mask | uint | |
리턴 | bool |