Finding all domains for a machine in c#
<p>I am trying to create a web application for our group in university. I want to create a login page, where users can enter the username and password. Also, they should be able to choose a domain name (just like when you remote desktop to another machine on the system). I want to populate domain names automatically in a drop-down menu. How can i get all the domain names for a given machine in c#?</p>

<p>Thanks</p>
