获取客户机MAC地址 根据IP地址 获取机器的MAC地址 / 获取真实Ip地址

[DllImport("Iphlpapi.dll")] private static extern int SendARP(Int32 dest, Int32 host, ref Int64 mac, ref Int32 length); [DllImport("Ws2_32.dll")] private static extern Int32 inet_addr(string ip); ///
posted @ 2019-12-09 10:31  凌晨10点13分  阅读(870)  评论(0编辑  收藏  举报