INFO: NTLM plugin for non-Windows platforms

Rebex.Plugins.Ntlm package

This plugin adds support for NTLM authentication to Rebex libraries on non-Windows platforms such as Linux, Android, macOS or iOS. The following Rebex APIs are supported:

Download NTLM plugin (ZIP file)

Also available as a NuGet package:

PM> Install-Package Rebex.Plugins.Ntlm

Licensing

The plugin is based on open-source Mono.Security.Protocol.Ntlm codebase and is available for free under the terms of the MIT license.

Enabling the NTLM plugin

1. Install the Rebex.Plugins.Ntlm NuGet package using NuGet package manager, or add reference to a suitable DLL from the ZIP file above.

2. Add the following code to your application:

C#

using Rebex.Security.Authentication;
...

// register NTLM authentication plugin
SspiAuthentication.Register(NtlmAuthentication.Create);

VB.NET

Imports Rebex.Security.Authentication
...

' register NTLM authentication plugin
SspiAuthentication.Register(NtlmAuthentication.Create)

Supported platforms

  • .NET 5/6/7
  • .NET Core 3.1
  • Mono 6.12
  • Xamarin.iOS (13.10 and higher)
  • Xamarin.Android (10.1 and higher)

Send us feedback

Do you have any comments, questions or suggestions? Let us know at Rebex Support Forum or contact us.