Метод | Описание | |
---|---|---|
ConvertToNumber ( |
ipaddress convert to long
|
|
ConvertToNumber ( string ipAddress ) : long |
ipaddress convert to long
|
|
GetLocalIntranetIP ( ) : |
获取本机内网IP
|
|
GetLocalIntranetIPList ( ) : List |
获取本机内网IP列表
|
|
IsIntranet ( |
true表示为内网IP
|
|
IsIntranet ( long longIP ) : bool |
true表示为内网IP
|
|
IsIntranet ( string ipAddress ) : bool |
true表示为内网IP
|
Метод | Описание | |
---|---|---|
IPUtility ( ) : System.Collections.Generic |
static new
|
public static ConvertToNumber ( |
||
ipAddress | ||
Результат | long |
public static ConvertToNumber ( string ipAddress ) : long | ||
ipAddress | string | |
Результат | long |
public static GetLocalIntranetIP ( ) : |
||
Результат |
public static GetLocalIntranetIPList ( ) : List |
||
Результат | List |
public static IsIntranet ( |
||
ipAddress | ||
Результат | bool |
public static IsIntranet ( long longIP ) : bool | ||
longIP | long | |
Результат | bool |
public static IsIntranet ( string ipAddress ) : bool | ||
ipAddress | string | |
Результат | bool |