TouchSocketCoreUtilityIsIPv4 方法
判断输入的字符串是否是表示一个IP地址
命名空间: TouchSocket.Core程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:4.1.4.7+7f7e1f78093c99347956e09330d5d7aca1d2bdf2
public static bool IsIPv4(
string input
)
Public Shared Function IsIPv4 (
input As String
) As Boolean
static member IsIPv4 :
input : string -> bool
- input String
- 被比较的字符串
Boolean是IP地址则为