System.DirectoryServices.Protocols 10.0.0-rc.2.25502.107

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
Microsoft.AspNetCore.Authentication.Negotiate
ASP.NET Core authentication handler used to authenticate requests using Negotiate, Kerberos, or NTLM. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/1d696053fcd6735aaac1902afdb0b92edbf43e71
31
Microsoft.AspNetCore.Authentication.Negotiate
ASP.NET Core authentication handler used to authenticate requests using Negotiate, Kerberos, or NTLM. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/330c2397160929d6d3275ade03cee436265258e8
32
Microsoft.AspNetCore.Authentication.Negotiate
ASP.NET Core authentication handler used to authenticate requests using Negotiate, Kerberos, or NTLM. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/36be7ed6d6d56b7da0a2891e3de7ecc2aa48eecd
32
Microsoft.AspNetCore.Authentication.Negotiate
ASP.NET Core authentication handler used to authenticate requests using Negotiate, Kerberos, or NTLM. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/5a4c82ec57fadddef9ce841d608de5c7c8c74446
31
Microsoft.AspNetCore.Authentication.Negotiate
ASP.NET Core authentication handler used to authenticate requests using Negotiate, Kerberos, or NTLM. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/6939d9ab90aa1e57bb0619bb28819f7bcbfdbb54
31
Microsoft.AspNetCore.Authentication.Negotiate
ASP.NET Core authentication handler used to authenticate requests using Negotiate, Kerberos, or NTLM. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/be51b1aa73343e45a1d00afd436abad794f471fb
30
Microsoft.AspNetCore.Authentication.Negotiate
ASP.NET Core authentication handler used to authenticate requests using Negotiate, Kerberos, or NTLM. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/d47e49e9c1e173ac90821f7e89cc38e710274241
35
Microsoft.Windows.Compatibility
This Windows Compatibility Pack provides access to APIs that were previously available only for .NET Framework. It can be used from both .NET Core as well as .NET Standard. When using NuGet 3.x this package requires at least version 3.4.
721
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.
36
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.
431
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
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 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.
34
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.
83
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.
115
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.
138
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). When using NuGet 3.x this package requires at least version 3.4.
713

https://go.microsoft.com/fwlink/?LinkID=799421

.NET 8.0

  • No dependencies.

.NET 9.0

  • No dependencies.

.NET 10.0

  • No dependencies.

.NET Standard 2.0

Version Downloads Last updated
10.0.0-rc.2.25502.107 5 10/18/2025
10.0.0-rc.1.25451.107 5 09/12/2025
10.0.0-preview.7.25380.108 5 08/15/2025
10.0.0-preview.6.25358.103 6 07/18/2025
10.0.0-preview.5.25277.114 13 06/08/2025
10.0.0-preview.4.25258.110 11 05/15/2025
10.0.0-preview.3.25171.5 14 04/12/2025
10.0.0-preview.2.25163.2 16 03/30/2025
10.0.0-preview.1.25080.5 14 03/04/2025
9.0.10 5 10/19/2025
9.0.9 6 09/14/2025
9.0.8 6 08/10/2025
9.0.7 9 07/10/2025
9.0.6 8 06/14/2025
9.0.5 12 05/16/2025
9.0.4 13 04/12/2025
9.0.3 14 03/12/2025
9.0.2 16 03/12/2025
9.0.1 16 01/28/2025
9.0.0 22 11/14/2024
9.0.0-rc.2.24473.5 24 11/06/2024
9.0.0-rc.1.24431.7 25 11/10/2024
9.0.0-preview.7.24405.7 26 11/14/2024
9.0.0-preview.6.24327.7 17 11/27/2024
9.0.0-preview.5.24306.7 17 11/25/2024
9.0.0-preview.4.24266.19 20 11/10/2024
9.0.0-preview.3.24172.9 28 05/10/2024
9.0.0-preview.2.24128.5 31 04/09/2024
9.0.0-preview.1.24080.9 22 11/10/2024
8.0.2 11 06/14/2025
8.0.1 17 04/12/2025
8.0.0 407 05/08/2024
8.0.0-rc.2.23479.6 21 05/01/2024
8.0.0-rc.1.23419.4 18 11/28/2024
8.0.0-preview.7.23375.6 20 12/10/2024
8.0.0-preview.6.23329.7 19 11/28/2024
8.0.0-preview.5.23280.8 20 11/25/2024
8.0.0-preview.4.23259.5 20 11/14/2024
8.0.0-preview.3.23174.8 22 11/21/2024
8.0.0-preview.2.23128.3 19 11/28/2024
8.0.0-preview.1.23110.8 22 11/21/2024
7.0.1 24 11/28/2024
7.0.0 20 11/10/2024
7.0.0-rc.2.22472.3 18 04/26/2024
7.0.0-rc.1.22426.10 21 11/09/2024
7.0.0-preview.7.22375.6 19 11/21/2024
7.0.0-preview.6.22324.4 21 11/25/2024
7.0.0-preview.5.22301.12 20 11/25/2024
7.0.0-preview.4.22229.4 17 11/18/2024
7.0.0-preview.3.22175.4 17 11/26/2024
7.0.0-preview.2.22152.2 22 04/26/2024
7.0.0-preview.1.22076.8 17 11/09/2024
6.0.2 140 02/04/2024
6.0.1 150 04/13/2023
6.0.0 25 11/25/2024
6.0.0-rc.2.21480.5 21 11/11/2024
6.0.0-rc.1.21451.13 22 04/26/2024
6.0.0-preview.7.21377.19 25 11/09/2024
6.0.0-preview.6.21352.12 18 11/25/2024
6.0.0-preview.5.21301.5 20 11/29/2024
6.0.0-preview.4.21253.7 16 12/02/2024
6.0.0-preview.3.21201.4 16 11/21/2024
6.0.0-preview.2.21154.6 18 11/25/2024
6.0.0-preview.1.21102.12 18 11/21/2024
5.0.1 36 06/15/2022
5.0.0 32 09/13/2022
5.0.0-rc.2.20475.5 21 11/27/2024
5.0.0-rc.1.20451.14 22 11/28/2024
5.0.0-preview.8.20407.11 20 11/25/2024
5.0.0-preview.7.20364.11 21 11/27/2024
5.0.0-preview.6.20305.6 21 11/21/2024
5.0.0-preview.5.20278.1 24 11/27/2024
5.0.0-preview.4.20251.6 20 11/29/2024
5.0.0-preview.3.20214.6 24 11/25/2024
5.0.0-preview.2.20160.6 26 04/26/2024
5.0.0-preview.1.20120.5 20 11/25/2024
4.7.0 716 10/11/2022
4.7.0-preview3.19551.4 19 11/09/2024
4.7.0-preview2.19523.17 22 11/25/2024
4.7.0-preview1.19504.10 23 11/09/2024
4.6.0 27 11/21/2024
4.6.0-rc1.19456.4 19 11/25/2024
4.6.0-preview9.19421.4 24 04/26/2024
4.6.0-preview9.19416.11 18 11/21/2024
4.6.0-preview8.19405.3 20 11/27/2024
4.6.0-preview7.19362.9 22 05/08/2024
4.6.0-preview6.19303.8 21 05/09/2024
4.6.0-preview6.19264.9 16 11/14/2024
4.6.0-preview5.19224.8 22 11/25/2024
4.6.0-preview4.19212.13 20 11/28/2024
4.6.0-preview3.19128.7 17 11/14/2024
4.6.0-preview.19073.11 16 11/28/2024
4.6.0-preview.18571.3 18 11/25/2024
4.5.0 35 05/11/2024
4.5.0-rc1 20 11/25/2024
4.5.0-preview2-26406-04 22 11/10/2024
4.5.0-preview1-26216-02 23 11/27/2024
4.5.0-preview1-25914-04 18 11/08/2024