- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to call the Start method with a range of IP addresses. I am just not exactly sure how to get the discovered computer information back to the client of the class. The reportedComputers dictionaryon AMTDiscovery.csisprivate. Am I missing something? Is there another way to retrieve this information?
Am I going down the correct path to begin with? All I want to do is scan the network for AMT enabled machines and retrieve the IP Address, Host Name, Computer Model, Serial Number, and OS (not sure if you can retrieve this through the Management Engine) and store this information in a database.
I appreciate any assistance here.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well at least it looks like I am going down the correct path using this AMTDiscovery.cs class to discover AMT enabled machines on the network.
This seems like aproblem that has likely been solved over and over again. Just want to confirm that using this class is the best way to go about it. So far I haven't been able to discover a machine that I know is AMT enabled. I will keep trying.
Thanks again!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is this the method that most people are using to discover machines on the network? Thanks again for your assistance!
{
List
AmtDiscovery discover = new AmtDiscovery();
discover.Start(IPAddress.Parse("192.168.0.1"), IPAddress.Parse("192.168.0.25"));
discover.OnDiscoveryEvent += new AmtDiscovery.AmtDiscoveryEventHandler(discover_OnDiscoveryEvent);
}
void discover_OnDiscoveryEvent(AmtDiscovery amtDiscovery, IPEndPoint ep, AmtDiscovery.AmtDiscoveryEvent e, AmtDiscovery.AmtDiscoveredComputer computer)
{
if (computer != null)
{
computers.Add(computer);
}
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Another thing: we have a few variations of the AmtDiscovery object, one variation uses ARP to check the IP address before attempting the TCP connection. This only works in the local network. If the IP address is ourside the local network, you can't use ARP and TCP is used alone. You may find "AmtDiscovery2.cs" which is a different variation on the same discovery.
Can you tell me if Commander (Which uses this same code) works for you?
Thanks,
Ylian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your reply! I have now been able to successfully discover AMT machines on the network using AMTDiscovery class. As you have eluded the discovery process is kind of slow. It sounds like the AmtDiscovery2.cs class might be faster becauses it uses ARP. My understanding about ARP is that it will only discover machines for which there have been previous connections. Is that correct?
My end goal here is to discover all AMT machines on a network and store information about them in a database. Am I going down the right path here or are there better ways to do this? I am sure this has been done many times before for many different applications.
Thanks again!
Rich

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page