TwoFactorAuth.Net 1.4.0

.NET Standard 2.0 .NET Framework 4.6
dotnet add package TwoFactorAuth.Net --version 1.4.0
NuGet\Install-Package TwoFactorAuth.Net -Version 1.4.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="TwoFactorAuth.Net" Version="1.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TwoFactorAuth.Net --version 1.4.0
#r "nuget: TwoFactorAuth.Net, 1.4.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.
// Install TwoFactorAuth.Net as a Cake Addin
#addin nuget:?package=TwoFactorAuth.Net&version=1.4.0

// Install TwoFactorAuth.Net as a Cake Tool
#tool nuget:?package=TwoFactorAuth.Net&version=1.4.0

.Net library for two-factor (or multi-factor) authentication using TOTP and QR-codes.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net46 net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on TwoFactorAuth.Net:

Package Downloads

A QR Code provider for TwoFactorAuth.Net that has no external API dependency. The image is generated on your own server. Also no dependency on System.Drawing to avoid installation issues with Linux.


QR code provider for TwoFactorAuth.Net using the excellent QRCoder library (


Package Description



GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on TwoFactorAuth.Net:

Repository Stars
NosCore is a Nostale emulator in c# (.Net 7) using DotNetty / Entity Framework / WebAPI / Autofac / Mapster / Serilog
Version Downloads Last updated
1.4.0 435,779 7/10/2020
1.3.9 39,157 6/1/2020
1.3.8 120,666 6/21/2019
1.3.6 86,001 3/19/2019
1.3.4 27,348 6/9/2018
1.3.3 807 6/6/2018
1.3.1 33,853 2/28/2018
1.3.0 1,657 2/24/2018
1.2.1 54,227 2/21/2017
1.1.0 2,797 11/23/2015
1.0.1 1,381 11/21/2015
1.0.0 1,070 11/19/2015

* GetQrText() is now public