Directory Services in the .NET Framework
.NET Framework 4.5
System.DirectoryServices, System.DirectoryServices.ActiveDirectory, and System.DirectoryServices.Protocols managed APIs provide directory service access and management. Together, these managed APIs provide a complete solution for developing directory-centric and directory-enabled applications using managed code.
The following graphic shows how the three managed APIs relate to each other and to the unmanaged counterparts.