Using NetServerEnum (PInvoke of NetServerEnum) I can get every machine in a domain, but what about other domains?
The file explorer under "My Network Places|Entire Network|Microsoft Windows Network|" shows a list of domains, so there must be a way to get the list of domains and from there one could use NetServerEnum.
How do I get the list of domains?