Re: all computer names in a domain
I think you have to try to use LDAP in the DirectoryEntry constructor and also the user and password of an authorized accont to search in AD (I'm writing an app using AD and everythings works well)
ForExample:
DirectoryEntry entry = new DirectoryEntry("LDAP://OU=MyOu,DC=zeltech,DC=com",zeltech,<myaccount>,<mypsw>);
DirectorySearcher searcher = new DirectorySearcher(entry,"(&(ObjectCategory=computer)");
SearchResultCollection res = searcher.FindAll();
I hope this can be useful for you..
Re: all computer names in a domain
Well, I was doing some research and the conclusion I came up with is that we need to have active directory at least installed on the computer, right???