-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to list all of the IPs on the LAN with this library? #165
Comments
Hi @islarky88 Are you referring to the table the OS keeps from arps? If so, is there an api to get that from the OS? In our case via .net core? If not can you explain a bit more about what you mean? Regards, |
Not an issue, but if you want a subnetting algorithm. I will just leave mine here. In fact, you don't need this library to create it. /// Subnetting tool /// THIS TOOL IS UNDER GNU GPL-3.0 LICENCES /// https://www.gnu.org/licenses/gpl-3.0.en.html /// public class SubnetCalculator { private IPAddress localAddress; private IPAddress localNetMask; // private string localIPBits = ""; private byte hostBytePosition; // private string hostPart; private string subnetPart; // private byte[] minIPrange; private byte[] maxIPrange;
` Now if you want to go along and fetch the ARP table you request from all the Ip's and create a different list with the fetched Ip's. |
I saw the ArpResolve example and it seems like a way to get the MAC address of an IP (that's ARP for you)
but I would like to know if there is a class here with a function that can fetch the ARP cache table?
my main goal is to just get a list of all IPs that are in use in my LAN.
Thanks. :)
The text was updated successfully, but these errors were encountered: