摘要: 1 public static bool IsValidIp(string strIn) 2 { 3 bool b = Regex.IsMatch(strIn, @"^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$"); 4 5 return b; 6 } 阅读全文
posted @ 2018-03-08 16:13 liu_xh 阅读(4228) 评论(2) 推荐(0)
摘要: 从一个目录选择一个文件,复制到另一个目录 阅读全文
posted @ 2018-03-08 10:59 liu_xh 阅读(1586) 评论(0) 推荐(0)