public GlobalUdpBroadcaster(int port, bool listen) { broadcasters = IPUtil.GetOperationalInterfaces() .Select(nic => { UdpBroadcaster b = new UdpBroadcaster(nic.GetBroadcastAddress(), nic.Address, port, listen); b.Interface = nic.Interface; b.PacketReceived += B_PacketReceived; return(b); }) .ToList(); }
public IPAddress GetHighestInRange() { return(IPUtil.GetHighestInRange(Address, Mask)); }