if (SendArp(ip, 0, macAddr, ref macAddrLen) != 0) { return false; } else { }
Quote: Use System.Management for such kind of queries. MSFT_NetAdapter class, PromiscuousMode property. Use WMI Code Creator to experiment and arrive at the correct C# code. – Hans Passant
WMI
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)