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

TouchSocketCoreUtilityIsIPv4 方法

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

Definition

命名空间: TouchSocket.Core
程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
C#
public static bool IsIPv4(
	string input
)

参数

input  String
被比较的字符串

返回值

Boolean
是IP地址则为

参见