Meziantou.Framework.Http.Htpasswd
2.0.0
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Meziantou.Framework.Http.Htpasswd --version 2.0.0
NuGet\Install-Package Meziantou.Framework.Http.Htpasswd -Version 2.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Meziantou.Framework.Http.Htpasswd" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Meziantou.Framework.Http.Htpasswd" Version="2.0.0" />
<PackageReference Include="Meziantou.Framework.Http.Htpasswd" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Meziantou.Framework.Http.Htpasswd --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Meziantou.Framework.Http.Htpasswd, 2.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Meziantou.Framework.Http.Htpasswd@2.0.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Meziantou.Framework.Http.Htpasswd&version=2.0.0
#tool nuget:?package=Meziantou.Framework.Http.Htpasswd&version=2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Meziantou.Framework.Http.Htpasswd
This package parses Apache htpasswd files and verifies credentials.
Supported password formats:
- bcrypt (
$2a$,$2b$,$2y$) - Apache MD5 (
$apr1$) - SHA-256 crypt (
$5$) - SHA-512 crypt (
$6$) - SHA-1 (
{SHA}) - plaintext
var htpasswd = HtpasswdFile.Parse("""
alice:$2y$10$Q8mPjALzMV90Q6MlA4b9MOB7f1ehD6A0eTlM2P6xnQKibD4xWgRSO
bob:{SHA}W6ph5Mm5Pz8GgiULbPgzG37mj9g=
""");
var isAliceValid = htpasswd.VerifyCredentials("alice", "password");
var isBobValid = htpasswd.VerifyCredentials("bob", "password");
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. net11.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Meziantou.Framework.Bcrypt (>= 2.0.0)
-
net11.0
- Meziantou.Framework.Bcrypt (>= 2.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.9 | 46 | 11/20/2026 |
| 2.0.8 | 91 | 11/13/2026 |
| 2.0.7 | 90 | 11/8/2026 |
| 2.0.6 | 166 | 10/28/2026 |
| 2.0.5 | 105 | 10/21/2026 |
| 2.0.4 | 125 | 9/13/2026 |
| 2.0.3 | 129 | 9/6/2026 |
| 2.0.2 | 122 | 8/30/2026 |
| 2.0.1 | 130 | 7/8/2026 |
| 2.0.0 | 137 | 7/5/2026 |
| 1.0.3 | 128 | 6/13/2026 |
| 1.0.2 | 126 | 5/23/2026 |
| 1.0.1 | 250 | 4/25/2026 |
| 1.0.0 | 185 | 3/1/2026 |