Reputation: 6780
Can anyone recommend a (preferably gratis) .Net library/component to perform OS Fingerprinting?
I'm writing a program that will verify if a list of hosts are up, and at the same time perform OS Fingerprinting to determine the OS of the hosts.
The background: My predecessor left me a legacy of Active Directory + DNS that has not been housekept for $DEITY-knows-when. I want to identify which of the entries are still up, which are no longer reachable, while also trying to detect Windows OSes that for unknown reasons are not joined to the domain but exist in the DNS.
Upvotes: 1
Views: 263
Reputation: 13854
If the machines are on the domain and you have sufficient privileges, you can use WMI (Windows Management Interface) to query information about remote machines. It's fairly easy to work with from .Net
You might need to use group policy to push out a firewall rule to allow incoming WMI traffic, but aside from that detail it's pretty straightforward.
Upvotes: 1