用C#编写获取远程IP

  • 用C#编写获取远程IP,MAC的方法

    如果要想获得远程的地址,需要用sendarp这个函数来实现。具体的代码如下: [DllImport("Iphlpapi.dll")] private static unsafe extern int SendARP(Int32 dest,Int32 host,r......2020-06-25 11:44