1.3 Using Novell.Directory.Ldap on Windows

To use Novell.Directory.Ldap on Windows:

  1. Download the Novell.Directory.Ldap.dll file from http://forge.novell.com/modules/xfmod/project/?ldapcsharp if you don't have it.

  2. Copy Novell.Directory.Ldap.dll and mono.security.dll to an appropriate location in your project.

  3. Start Visual Studio .NET.

  4. Select File > New > Project.

  5. In the Project Type column, select the project type to create C#.

  6. In the Template column, select a project template (like Console Application, Windows Application).

  7. Enter a name for your project.

  8. Click OK to create your new project.

  9. Select Project > Add reference > Browse.

  10. In Browse, select Novell.Directory.Ldap.dll and mono.security.dll from the location you copied in Step 2.

    Figure 1-1 Windows Setup: Adding a Reference

  11. Click OK to Add Reference.

  12. Add the following line to your code:

    using Novell.Directory.Ldap;