Skip to main content
Otp.NET package icon

Otp.NET

An implementation of TOTP and HOTP which are commonly used for multi factor authentication by using a shared key between the client and the server to generate and verify one time use codes. For documentation and examples visit the project website on GitHub at https://github.com/kspearrin/Otp.NET

Total Downloads
37.0M
36,997,674
Published
Dec 1, 2025
Latest stable version

Install

.NET CLI
dotnet add package Otp.NET --version 1.4.1
Package Manager Console
Install-Package Otp.NET -Version 1.4.1
PackageReference
<PackageReference Include="Otp.NET" Version="1.4.1" />

Frameworks

.NETFramework4.6.1 net5.0 net6.0 net7.0 net8.0 net9.0 net10.0 .NETStandard2.0

Dependencies

No declared dependencies.

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 8 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.