Hello!
I am looking for a book that covers Windows environment connected information. Like a scripting bible but for C# (Framework 2.0). A book that covers for example:
* How to create a user.
* How to create a mailbox.
* How to set NTFS rights for a folder.
* How to map a network drive.
* How to add a printer.
* bla, bla, bla....
I realize that some of those thing might not be bundled all in one book, so a book about ADSI edit in C# covering point one and two is better than nothing, and so on.
/Leyan

C# Windows environment book
Julian V
Shivam
nzmike
Alain Lissoir's "Understanding WMI Scripting" and "Leveraging WMI Scripting" were together a great pair of books on managing windows programatically. The majority of the code are scripts, but it does have some on .NET.
I don't see it being a one-stop shopping experience for the needs you list, particularily in creating AD accounts and Mailboxes, but for much of it I would say the books are invaluable.
Han Qiao
Hi;
For book on C# and .net 2.0 have alook on amazon. I like the Pro Series books from Apress:
http://www.amazon.com/2005-NET-2-0-Platform-Third/dp/1590594193/sr=8-1/qid=1158900080/ref=pd_bbs_1/002-4678996-6028053 ie=UTF8&s=books
And also from O'Reilly CookBook series:
http://www.oreilly.com/catalog/csharpckbk2/
Thie book is sure to have a lot of advance code snippets that should help you if you already have a foundation in C#.
Regards
Shivam
Peter Peng
Thanks for the answer!
But we have various books at work on the .Net 2.0 subject. And every book covers the same topics with very small variations. Does this seem familiar
1. Classes
2. Delegates
3. Events
4. Inheritance
5. Interfaces
6. Generics
7. bla, bla, bla
I have all of that, so what we really need is a solid resource for just the things I mentioned in my previous post. Windows operative/server management material.
For example A book or website specialized on the System.DirectoryServices and ActiveDs namespaces.
/Leyan
robben07160
Found one....
Professional .NET Directory Services Programming (ISBN : 1590592697)
/Leyan
Kolf
That probably is the case.
The last project we made was a very small app to Add a user to the AD, give the user a mailbox and a homedrive on a fileshare. This took us 2 days to develop where at least one day was spent on searching the net for information how to do it. I guess I had a unfullfillable wish to be rid of those searches for our next project. =)
Thanks for answering though. I have the cookbook by the way. Good material indeed.
/Leyan