17 lines
395 B
17 lines
395 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.InteropServices;
|
|
using System.Text;
|
|
|
|
namespace Apewer.Internals.Interop
|
|
{
|
|
|
|
class IpHlpApi
|
|
{
|
|
|
|
[DllImport("iphlpapi.dll", CharSet = CharSet.Ansi, ExactSpelling = true, SetLastError = true)]
|
|
public static extern uint SendARP(uint DestIP, uint SrcIP, ref ulong MacAddr, ref uint AddrLen);
|
|
|
|
}
|
|
|
|
}
|
|
|