System.DirectoryServices.Protocols 9.0.16

About

System.DirectoryServices.Protocols provides a managed implementation of Lightweight Directory Access Protocol (LDAP) version 3 and Directory Services Markup Language (DSML) version 2.0 (V2) standards.

It primarily uses the LdapConnection type for interacting with LDAP servers, using system native libraries to establish TCP/IP or UDP LDAP connections. Supports both Windows and Unix, but certain features, such as setting client or server certificate options, are not available on Unix.

Key Features

  • Managed implementation of LDAP v3 and DSML V2 standards.

How to Use

Using the LdapConnection type, you can establish connections to LDAP servers and issue requests.

Here is a simple example:

using System.DirectoryServices.Protocols;

// Create a new LdapConnection instance using the server URL.
using (LdapConnection connection = new LdapConnection("ldap.example.com")) {

    // Some credentials
    connection.Credential = new NetworkCredential(dn, password);

    // Connect to the server
    connection.Bind();

    // Perform LDAP operations
}

Main Types

The main types provided by this library are:

  • System.DirectoryServices.Protocols.LdapConnection
  • System.DirectoryServices.Protocols.DirectoryAttribute
  • System.DirectoryServices.Protocols.DirectoryOperation
  • System.DirectoryServices.Protocols.DirectoryRequest
  • System.DirectoryServices.Protocols.DirectoryResponse

Additional Documentation

Feedback & Contributing

System.DirectoryServices.Protocols is released as open source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.

Showing the top 20 packages that depend on System.DirectoryServices.Protocols.

Packages Downloads
Oracle.ManagedDataAccess.Core
Oracle Data Provider for .NET (ODP.NET) Core is an ADO.NET driver that provides fast data access from Microsoft .NET Core clients to Oracle databases. ODP.NET Core consists of a single 100% managed code dynamic-link library.
41
Oracle.ManagedDataAccess.Core
Oracle Data Provider for .NET (ODP.NET) Core is a multi-platform ADO.NET driver that provides fast data access from Microsoft .NET (Core) clients to Oracle databases. ODP.NET Core consists of a single 100% managed code dynamic-link library.
38
Oracle.ManagedDataAccess.Core
Oracle Data Provider for .NET (ODP.NET) Core is a multi-platform ADO.NET driver that provides fast data access from Microsoft .NET (Core) clients to Oracle databases. ODP.NET Core consists of a single 100% managed code dynamic-link library.
37
Oracle.ManagedDataAccess.Core
Oracle Data Provider for .NET (ODP.NET) Core is an ADO.NET driver that provides fast data access from Microsoft .NET Core clients to Oracle databases. ODP.NET Core consists of a single 100% managed code dynamic-link library.
37
Oracle.ManagedDataAccess.Core
Oracle Data Provider for .NET (ODP.NET) Core is an ADO.NET driver that provides fast data access from Microsoft .NET Core clients to Oracle databases. ODP.NET Core consists of a single 100% managed code dynamic-link library.
36
System.DirectoryServices.AccountManagement
Provides uniform access and manipulation of user, computer, and group security principals across the multiple principal stores: Active Directory Domain Services (AD DS), Active Directory Lightweight Directory Services (AD LDS), and Machine SAM (MSAM).
35
Oracle.ManagedDataAccess.Core
Oracle Data Provider for .NET (ODP.NET) Core is a multi-platform ADO.NET driver that provides fast data access from Microsoft .NET (Core) clients to Oracle databases. ODP.NET Core consists of a single 100% managed code dynamic-link library.
35
Oracle.ManagedDataAccess.Core
Oracle Data Provider for .NET (ODP.NET) Core is an ADO.NET driver that provides fast data access from Microsoft .NET Core clients to Oracle databases. ODP.NET Core consists of a single 100% managed code dynamic-link library.
35
Oracle.ManagedDataAccess.Core
Oracle Data Provider for .NET (ODP.NET) Core is an ADO.NET driver that provides fast data access from Microsoft .NET Core clients to Oracle databases. ODP.NET Core consists of a single 100% managed code dynamic-link library.
33
Oracle.ManagedDataAccess.Core
Oracle Data Provider for .NET (ODP.NET) Core is a multi-platform ADO.NET driver that provides fast data access from Microsoft .NET (Core) clients to Oracle databases. ODP.NET Core consists of a single 100% managed code dynamic-link library.
33
System.DirectoryServices.AccountManagement
Provides uniform access and manipulation of user, computer, and group security principals across the multiple principal stores: Active Directory Domain Services (AD DS), Active Directory Lightweight Directory Services (AD LDS), and Machine SAM (MSAM).
33
System.DirectoryServices.AccountManagement
Provides uniform access and manipulation of user, computer, and group security principals across the multiple principal stores: Active Directory Domain Services (AD DS), Active Directory Lightweight Directory Services (AD LDS), and Machine SAM (MSAM).
32
Oracle.ManagedDataAccess.Core
Oracle Data Provider for .NET (ODP.NET) Core is a multi-platform ADO.NET driver that provides fast data access from Microsoft .NET (Core) clients to Oracle databases. ODP.NET Core consists of a single 100% managed code dynamic-link library.
32
Oracle.ManagedDataAccess.Core
Oracle Data Provider for .NET (ODP.NET) Core is an ADO.NET driver that provides fast data access from Microsoft .NET Core clients to Oracle databases. ODP.NET Core consists of a single 100% managed code dynamic-link library.
32
System.DirectoryServices.AccountManagement
Provides uniform access and manipulation of user, computer, and group security principals across the multiple principal stores: Active Directory Domain Services (AD DS), Active Directory Lightweight Directory Services (AD LDS), and Machine SAM (MSAM).
31
Oracle.ManagedDataAccess.Core
Oracle Data Provider for .NET (ODP.NET) Core is an ADO.NET driver that provides fast data access from Microsoft .NET Core clients to Oracle databases. ODP.NET Core consists of a single 100% managed code dynamic-link library.
31

.NET 8.0

  • No dependencies.

.NET 9.0

  • No dependencies.

.NET Standard 2.0

Version Downloads Last updated
11.0.0-preview.4.26230.115 15 05/14/2026
11.0.0-preview.3.26207.106 19 04/16/2026
11.0.0-preview.2.26159.112 24 03/12/2026
11.0.0-preview.1.26104.118 26 02/12/2026
10.0.8 14 05/14/2026
10.0.7 19 04/24/2026
10.0.6 20 04/16/2026
10.0.5 21 03/13/2026
10.0.4 22 03/12/2026
10.0.3 26 02/12/2026
10.0.2 30 01/15/2026
10.0.1 34 12/11/2025
10.0.0 26 12/12/2025
10.0.0-rc.2.25502.107 33 12/12/2025
10.0.0-rc.1.25451.107 20 12/12/2025
10.0.0-preview.7.25380.108 23 12/20/2025
10.0.0-preview.6.25358.103 25 12/11/2025
10.0.0-preview.5.25277.114 27 12/28/2025
10.0.0-preview.4.25258.110 20 12/11/2025
10.0.0-preview.3.25171.5 23 12/12/2025
10.0.0-preview.2.25163.2 24 12/12/2025
10.0.0-preview.1.25080.5 32 12/12/2025
9.0.16 15 05/14/2026
9.0.15 19 04/16/2026
9.0.14 25 03/12/2026
9.0.13 28 02/12/2026
9.0.12 27 01/16/2026
9.0.11 28 12/12/2025
9.0.10 30 12/12/2025
9.0.9 35 12/12/2025
9.0.8 29 12/18/2025
9.0.7 25 12/11/2025
9.0.6 27 12/12/2025
9.0.5 27 12/12/2025
9.0.4 27 12/12/2025
9.0.3 26 12/12/2025
9.0.2 26 12/12/2025
9.0.1 23 12/09/2025
9.0.0 25 12/11/2025
9.0.0-rc.2.24473.5 19 12/12/2025
9.0.0-rc.1.24431.7 28 12/12/2025
9.0.0-preview.7.24405.7 23 12/10/2025
9.0.0-preview.6.24327.7 24 12/12/2025
9.0.0-preview.5.24306.7 24 12/12/2025
9.0.0-preview.4.24266.19 26 12/12/2025
9.0.0-preview.3.24172.9 22 12/12/2025
9.0.0-preview.2.24128.5 24 12/12/2025
9.0.0-preview.1.24080.9 23 12/12/2025
8.0.2 26 12/12/2025
8.0.1 30 12/12/2025
8.0.0 23 12/12/2025
8.0.0-rc.2.23479.6 31 12/12/2025
8.0.0-rc.1.23419.4 16 12/12/2025
8.0.0-preview.7.23375.6 24 12/12/2025
8.0.0-preview.6.23329.7 26 12/12/2025
8.0.0-preview.5.23280.8 24 12/12/2025
8.0.0-preview.4.23259.5 22 12/12/2025
8.0.0-preview.3.23174.8 31 12/12/2025
8.0.0-preview.2.23128.3 28 12/12/2025
8.0.0-preview.1.23110.8 23 12/12/2025
7.0.1 24 12/12/2025
7.0.0 24 12/12/2025
7.0.0-rc.2.22472.3 24 12/12/2025
7.0.0-rc.1.22426.10 21 12/12/2025
7.0.0-preview.7.22375.6 27 12/12/2025
7.0.0-preview.6.22324.4 19 12/12/2025
7.0.0-preview.5.22301.12 23 12/12/2025
7.0.0-preview.4.22229.4 20 12/12/2025
7.0.0-preview.3.22175.4 23 12/12/2025
7.0.0-preview.2.22152.2 20 12/12/2025
7.0.0-preview.1.22076.8 19 12/12/2025
6.0.2 29 12/10/2025
6.0.2-mauipre.1.22102.15 29 12/12/2025
6.0.2-mauipre.1.22054.8 30 12/12/2025
6.0.1 25 12/12/2025
6.0.0 21 12/12/2025
6.0.0-rc.2.21480.5 25 12/12/2025
6.0.0-rc.1.21451.13 26 12/12/2025
6.0.0-preview.7.21377.19 30 12/12/2025
6.0.0-preview.6.21352.12 21 12/12/2025
6.0.0-preview.5.21301.5 23 12/12/2025
6.0.0-preview.4.21253.7 24 12/12/2025
6.0.0-preview.3.21201.4 26 12/12/2025
6.0.0-preview.2.21154.6 30 12/12/2025
6.0.0-preview.1.21102.12 29 12/12/2025
5.0.1 24 12/12/2025
5.0.0 19 12/12/2025
5.0.0-rc.2.20475.5 26 12/12/2025
5.0.0-rc.1.20451.14 24 12/12/2025
5.0.0-preview.8.20407.11 25 12/12/2025
5.0.0-preview.7.20364.11 23 12/12/2025
5.0.0-preview.6.20305.6 24 12/12/2025
5.0.0-preview.5.20278.1 23 12/12/2025
5.0.0-preview.4.20251.6 22 12/12/2025
5.0.0-preview.3.20214.6 22 12/12/2025
5.0.0-preview.2.20160.6 23 12/12/2025
5.0.0-preview.1.20120.5 22 12/11/2025
4.7.0 20 12/12/2025
4.7.0-preview3.19551.4 21 12/12/2025
4.7.0-preview2.19523.17 22 12/12/2025
4.7.0-preview1.19504.10 25 12/12/2025
4.6.0 22 12/12/2025
4.6.0-rc1.19456.4 23 12/12/2025
4.6.0-preview9.19421.4 22 12/12/2025
4.6.0-preview9.19416.11 32 12/12/2025
4.6.0-preview8.19405.3 26 12/12/2025
4.6.0-preview7.19362.9 24 12/12/2025
4.6.0-preview6.19303.8 23 12/12/2025
4.6.0-preview6.19264.9 25 12/12/2025
4.6.0-preview5.19224.8 24 12/12/2025
4.6.0-preview4.19212.13 23 12/12/2025
4.6.0-preview3.19128.7 19 12/12/2025
4.6.0-preview.19073.11 22 12/12/2025
4.6.0-preview.18571.3 25 12/12/2025
4.5.0 18 12/12/2025
4.5.0-rc1 22 12/12/2025
4.5.0-preview2-26406-04 22 12/12/2025
4.5.0-preview1-26216-02 19 12/12/2025
4.5.0-preview1-25914-04 24 12/12/2025