nbsp; string output = process.StandardOutput.ReadToEnd();
int length = output.IndexOf("MAC Address = ");
int length = output.IndexOf("MAC Address = ");
if(length>0)
{
mac = output.Substring(length+14, 17);
}
process.WaitForExit();
return mac.Replace("-", "").Trim();
}
}
}
| 对此文章发表了评论 |

