[摘要]RegexOptions.Compiled); Match mc=reg.Match(dirResults+"__MAC"); ...
RegexOptions.Compiled);
Match mc=reg.Match(dirResults+"__MAC");
if(mc.Success)
{
return mc.Groups["key"].Value;
}
else
{
reg=new Regex("Host not found",RegexOptions.IgnoreCase
关键词:用ASP.Net取得客户端网卡的MAC