TG_QRCodeGeneration 1.0.3
dotnet add package TG_QRCodeGeneration --version 1.0.3
NuGet\Install-Package TG_QRCodeGeneration -Version 1.0.3
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="TG_QRCodeGeneration" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TG_QRCodeGeneration" Version="1.0.3" />
<PackageReference Include="TG_QRCodeGeneration" />
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 TG_QRCodeGeneration --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TG_QRCodeGeneration, 1.0.3"
#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 TG_QRCodeGeneration@1.0.3
#: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=TG_QRCodeGeneration&version=1.0.3
#tool nuget:?package=TG_QRCodeGeneration&version=1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
TG_QRCodeGeneration
Enables QR Code creation for .Net Core
Installation
Install-Package TG_QRCodeGeneration -Version 1.0.3
Use
// example 1: Creating a simple QR code
ViewBag.qrCodeImage = _qrCodeGenerator.GenerateAndSaveQRCode("data", "qr_code.png", 200, QRCodeGenerator.ECCLevel.H);
// example 2: Using a different error correction level
ViewBag.qrCodeImage = _qrCodeGenerator.GenerateAndSaveQRCode("https://www.example.com", "qr_code_url.png", 300, QRCodeGenerator.ECCLevel.Q);
// example 3: Create the QR code in a different size
ViewBag.qrCodeImage = _qrCodeGenerator.GenerateAndSaveQRCode("1234567890", "qr_code_numbers.png", 400, QRCodeGenerator.ECCLevel.M);
builder.Services.AddTransient<IQRCodeProcess, QRCodeProcess>();
<img src="@ViewBag.code" style="width:100px; height:100px;" />
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- System.Drawing.Common (>= 6.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.
Enables QR Code creation for .Net Core