Giter Club home page Giter Club logo

ipdevicemanufacturer's Introduction

Sharp-IP Vendors Device Manufacturer

C# Find the vendor / manufacturer of a device description by IP/MAC Address from network adapter.

License: MIT FOSSA Status

Nuget

Nuget

Why must be this library ?

✔️ Fast IP/MAC scanner by using thread parallel.

✔️ Get more deivce information from IP/MAC by general can't do it.

✔️ Vendors / Manufacturer from the IEEE Standards Association have over than 40000+ devices .

✔️ You can scan range IP address by without pinging cause some client not response anytime. but we use Send ARP instead.

Help or Feedback

Need help or have feedback? Please file an issue here!

Usage

using System;
using System.Net;
using Acolyte.Net.Manufacturer;

[Obsolete]
void Main(string[] args)
{
     //Set IP Address range from and to.    
     IPDeviceManufacturerScanner manufacturerScanner = new IPDeviceManufacturerScanner();
     manufacturerScanner.SetIPAddressRange(IPAddress.Parse("192.168.1.1"), IPAddress.Parse("192.168.1.255"));
     manufacturerScanner.ScanRecieved += ManufacturerScanner_ScanRecieved;
     manufacturerScanner.ScanComplete += ManufacturerScanner_ScanComplete;
     manufacturerScanner.StartScan();
}

static void ManufacturerScanner_ScanRecieved(object sender, ScanRecievedEventArgs args)
{
	Console.WriteLine(
	$"IP Address : {args.IPAddress.ToString()} \n" +
	$"MAC Address : {args.MACAddress} \n" +
	$"Host Name : {args.HostName}\n" +
	$"Network Adapter Company : {args.CompanyName} \n" +
	$"Company Address : {args.CompanyAddress} \n" +
	$"Country Code : {args.CountryCode}\n" +
	$"Country Name : {args.CountryName}\n");
	Console.WriteLine("-----------------------------------------------------------");
}

static void ManufacturerScanner_ScanComplete(object sender, EventArgs e)
{
	Console.WriteLine("Complete..!!");
	Console.ReadKey();
}

Example Output

Output

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Community

Sponsors

License

FOSSA Status

ipdevicemanufacturer's People

Contributors

battlerealmsmodeditor avatar fossabot avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.