메소드 | 설명 | |
---|---|---|
CheckIfSameNetwork ( string sIPA, string sIPB, string sMask ) : bool | ||
GetNetwork ( string sIP, string sPrefix ) : string | ||
Ping ( |
||
PrefixToMask ( int prefix ) : string |
Converts an IPv4 CIDR prefix number (0 - 32) to dot-decimal notation
|
|
ValidateIPv4 ( string &sIP, string &sMask ) : bool | ||
ValidateIPv4 ( string &reason, string sIP, string sMask = "0.0.0.0" ) : bool | ||
ValidateIPv4Mask ( string &sMask ) : bool | ||
ValidateIPv6 ( string &sIP, string sPrefix = "0" ) : bool | ||
ValidateIPv6 ( string sIP, string sPrefix, string &reason ) : bool | ||
ValidateIPv6Prefix ( string &sPrefix ) : bool |
public static CheckIfSameNetwork ( string sIPA, string sIPB, string sMask ) : bool | ||
sIPA | string | |
sIPB | string | |
sMask | string | |
리턴 | bool |
public static GetNetwork ( string sIP, string sPrefix ) : string | ||
sIP | string | |
sPrefix | string | |
리턴 | string |
public static ValidateIPv4 ( string &sIP, string &sMask ) : bool | ||
sIP | string | |
sMask | string | |
리턴 | bool |
public static ValidateIPv4 ( string &reason, string sIP, string sMask = "0.0.0.0" ) : bool | ||
reason | string | |
sIP | string | |
sMask | string | |
리턴 | bool |
public static ValidateIPv4Mask ( string &sMask ) : bool | ||
sMask | string | |
리턴 | bool |
public static ValidateIPv6 ( string &sIP, string sPrefix = "0" ) : bool | ||
sIP | string | |
sPrefix | string | |
리턴 | bool |
public static ValidateIPv6 ( string sIP, string sPrefix, string &reason ) : bool | ||
sIP | string | |
sPrefix | string | |
reason | string | |
리턴 | bool |
public static ValidateIPv6Prefix ( string &sPrefix ) : bool | ||
sPrefix | string | |
리턴 | bool |