如果要想獲得遠程的地址
[DllImport(
private static unsafe extern int SendARP(Int
[DllImport(
private static extern Int
Int
Int
try
{
Byte[] macinfo=new Byte[
Int
IntPtr mac=new IntPtr(macinfo[
IntPtr len=new IntPtr(
int ii=SendARP(ldest
Console
Console
}
catch(Exception err)
{
Console
}
From:http://tw.wingwit.com/Article/program/net/201311/14695.html