System.DirectoryServices.Protocols 10.0.0-preview.6.25358.103

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/1dcf7acfacf0fe154adcc23270cb0da11ff44ace
28
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/39e0501ee91dcf2b9b885d647795184815fb0408
29
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/8ad057426fa6a27cd648b05684afddab9d97d3d9
28
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/e56abc45c4f8adc518abfc11a59849d616431e2c
28
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/f050ae044be8bddc002ab88736e4bf78dc822122
28
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/ffaea14b06ea8b247fa4894b7d21ecf6da2cafbc
28
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.
177
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.
41
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.
29
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.
30
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.
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.
40
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.
50
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.
54
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.
84
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.
171
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.
181
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.
192

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-preview.6.25358.103 1 07/18/2025
10.0.0-preview.5.25277.114 4 06/08/2025
10.0.0-preview.4.25258.110 6 05/19/2025
10.0.0-preview.3.25171.5 6 04/14/2025
10.0.0-preview.2.25163.2 8 04/17/2025
10.0.0-preview.1.25080.5 10 02/27/2025
9.0.7 1 07/19/2025
9.0.6 3 06/13/2025
9.0.5 7 05/18/2025
9.0.4 7 04/17/2025
9.0.3 10 03/14/2025
9.0.2 11 02/21/2025
9.0.1 10 01/31/2025
9.0.0 11 11/14/2024
9.0.0-rc.2.24473.5 9 10/14/2024
9.0.0-rc.1.24431.7 14 09/11/2024
9.0.0-preview.7.24405.7 12 08/28/2024
9.0.0-preview.6.24327.7 11 07/12/2024
9.0.0-preview.5.24306.7 14 06/26/2024
9.0.0-preview.4.24266.19 13 05/24/2024
9.0.0-preview.3.24172.9 18 04/16/2024
9.0.0-preview.2.24128.5 16 03/15/2024
9.0.0-preview.1.24080.9 19 03/10/2024
8.0.2 4 06/13/2025
8.0.1 8 04/16/2025
8.0.0 22 02/10/2024
8.0.0-rc.2.23479.6 39 02/10/2024
8.0.0-rc.1.23419.4 17 02/10/2024
8.0.0-preview.7.23375.6 15 02/10/2024
8.0.0-preview.6.23329.7 17 02/10/2024
8.0.0-preview.5.23280.8 16 02/10/2024
8.0.0-preview.4.23259.5 14 02/10/2024
8.0.0-preview.3.23174.8 18 02/10/2024
8.0.0-preview.2.23128.3 18 02/10/2024
8.0.0-preview.1.23110.8 14 02/10/2024
7.0.1 15 02/10/2024
7.0.0 16 04/20/2023
7.0.0-rc.2.22472.3 15 02/10/2024
7.0.0-rc.1.22426.10 15 02/10/2024
7.0.0-preview.7.22375.6 13 02/10/2024
7.0.0-preview.6.22324.4 35 02/10/2024
7.0.0-preview.5.22301.12 15 02/10/2024
7.0.0-preview.4.22229.4 13 02/10/2024
7.0.0-preview.3.22175.4 18 02/10/2024
7.0.0-preview.2.22152.2 19 02/10/2024
7.0.0-preview.1.22076.8 16 02/10/2024
6.0.2 21 02/07/2024
6.0.2-mauipre.1.22102.15 18 02/10/2024
6.0.2-mauipre.1.22054.8 15 02/10/2024
6.0.1 27 05/15/2023
6.0.0 15 02/10/2024
6.0.0-rc.2.21480.5 18 02/10/2024
6.0.0-rc.1.21451.13 17 02/10/2024
6.0.0-preview.7.21377.19 35 02/10/2024
6.0.0-preview.6.21352.12 19 02/10/2024
6.0.0-preview.5.21301.5 21 02/10/2024
6.0.0-preview.4.21253.7 14 02/10/2024
6.0.0-preview.3.21201.4 17 02/10/2024
6.0.0-preview.2.21154.6 16 02/10/2024
6.0.0-preview.1.21102.12 14 02/10/2024
5.0.1 284 12/15/2021
5.0.0 239 02/04/2021
5.0.0-rc.2.20475.5 15 02/10/2024
5.0.0-rc.1.20451.14 17 02/10/2024
5.0.0-preview.8.20407.11 14 02/10/2024
5.0.0-preview.7.20364.11 16 02/10/2024
5.0.0-preview.6.20305.6 13 02/10/2024
5.0.0-preview.5.20278.1 43 02/10/2024
5.0.0-preview.4.20251.6 15 02/10/2024
5.0.0-preview.3.20214.6 16 02/10/2024
5.0.0-preview.2.20160.6 18 02/10/2024
5.0.0-preview.1.20120.5 17 02/10/2024
4.7.0 76 02/15/2021
4.7.0-preview3.19551.4 17 02/10/2024
4.7.0-preview2.19523.17 17 02/10/2024
4.7.0-preview1.19504.10 15 02/10/2024
4.6.0 16 02/10/2024
4.6.0-rc1.19456.4 15 02/10/2024
4.6.0-preview9.19421.4 17 02/10/2024
4.6.0-preview9.19416.11 19 02/10/2024
4.6.0-preview8.19405.3 16 02/10/2024
4.6.0-preview7.19362.9 20 02/10/2024
4.6.0-preview6.19303.8 14 02/10/2024
4.6.0-preview6.19264.9 17 02/10/2024
4.6.0-preview5.19224.8 20 02/10/2024
4.6.0-preview4.19212.13 18 02/10/2024
4.6.0-preview3.19128.7 19 02/10/2024
4.6.0-preview.19073.11 15 02/10/2024
4.6.0-preview.18571.3 17 02/10/2024
4.5.0 20 04/21/2020
4.5.0-rc1 16 02/10/2024
4.5.0-preview2-26406-04 16 02/10/2024
4.5.0-preview1-26216-02 17 02/10/2024
4.5.0-preview1-25914-04 17 02/10/2024