一款简单易用的基础网络通讯组件库。

TouchSocketCoreUtilityIsIPv4 方法

判断输入的字符串是否是表示一个IP地址

Definition

命名空间: TouchSocket.Core
程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:4.1.4.7+7f7e1f78093c99347956e09330d5d7aca1d2bdf2
C#
public static bool IsIPv4(
	string input
)

参数

input  String
被比较的字符串

返回值

Boolean
是IP地址则为

参见