How Can I do for search a computer in my Active Directory with c# and .net
framework 1.1?
Thanks
> Adrian < - 23 Nov 2006 21:31 GMT
> How Can I do for search a computer in my Active Directory with c# and .net
> framework 1.1?
**********************
You question is not so clear.
Perhaps you should formulate
your question in your native
language.
Adrian.
Willy Denoyette [MVP] - 23 Nov 2006 21:43 GMT
> How Can I do for search a computer in my Active Directory with c# and .net
> framework 1.1?
>
> Thanks
Take a look at the System.DirectoryServices namespace classes, they are simple wrappers
arround ADSI.
Willy.
Kodali Ranganadh - 24 Nov 2006 05:55 GMT
Hi Willy,
See this link, May be this will be helpfull to u.
http://www.c-sharpcorner.com/Code/2002/Aug/ListAllComps.asp
In this Example u can find the "How to get the Listing all Computer in
Active Directory" ..
All the Best ..
On Nov 24, 2:43 am, "Willy Denoyette [MVP]"
<willy.denoye...@telenet.be> wrote:
> > How Can I do for search a computer in my Active Directory with c# and .net
> > framework 1.1?
[quoted text clipped - 3 lines]
>
> Willy.
Marc Scheuner - 24 Nov 2006 05:40 GMT
>How Can I do for search a computer in my Active Directory with c# and .net
>framework 1.1?
You'll need to use the System.DirectoryServices namespace and more
precisely the DirectorySearcher class from within that.
There's a really good list of quick C# samples of using S.DS here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sds/sds/using_s
ystem_directoryservices.asp
Basically, you need to set up a DirectorySearcher, with a starting
point and some options as to what to look for, and what attributes to
load for any object found.
Marc