SharpIppNext 4.1.1

dotnet add package SharpIppNext --version 4.1.1
                    
NuGet\Install-Package SharpIppNext -Version 4.1.1
                    
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="SharpIppNext" Version="4.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SharpIppNext" Version="4.1.1" />
                    
Directory.Packages.props
<PackageReference Include="SharpIppNext" />
                    
Project file
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 SharpIppNext --version 4.1.1
                    
#r "nuget: SharpIppNext, 4.1.1"
                    
#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 SharpIppNext@4.1.1
                    
#: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=SharpIppNext&version=4.1.1
                    
Install as a Cake Addin
#tool nuget:?package=SharpIppNext&version=4.1.1
                    
Install as a Cake Tool

SharpIppNext

NuGet NuGet downloads Docs License Coverage Status Ask DeepWiki

A .NET Standard library for building Internet Printing Protocol (IPP) clients and servers.

Features

  • IPP Version Support: Comprehensive client and server implementation supporting IPP versions 1.0, 1.1, 2.0, 2.1, and 2.2.
  • Specification Conformance: Full compliance with core IPP models, binary encoding rules, and transport semantics.
  • Client & Server SDK: Strongly-typed interfaces to build both client applications (ISharpIppClient) and print servers (ISharpIppServer).
  • Over 70 Supported Operations: Out-of-the-box methods for standard IPP operations, plus support for sending custom/extended requests via raw message mapping.
  • System Service Support: Broad support for IPP System Service operations defined in PWG 5100.22-2025, including system and printer resource management, power policies, and subscription operations.
  • CUPS Compatibility: Full client-side support for CUPS-specific operations (e.g., CUPS-Get-Printers).
  • Two-Tier Validation: Recursive model-level checks using standard .NET DataAnnotations alongside strict low-level RFC 8011 attribute and octet-limit validation.
  • Native AOT Compatible: Optimized and verified for Ahead-of-Time compilation with zero reflection overhead (AOT sample projects included).
  • Strong-Named Assembly: Available in both standard and strong-named NuGet packages.

Installation

Install the library via NuGet:

dotnet add package SharpIppNext

Strong-named version

NuGet NuGet downloads

dotnet add package SharpIppNext.StrongName

Getting Started

Quick Start

Initialize the client and send an IPP request:

using SharpIpp;
using SharpIpp.Models.Requests;

// 1. Initialize the client
using SharpIppClient client = new();

// 2. Create a request
var request = new GetPrinterAttributesRequest
{
    OperationAttributes = new()
    {
        PrinterUri = new Uri("ipp://localhost:631/printers/my-printer")
    }
};

// 3. Send the request
var response = await client.GetPrinterAttributesAsync(request);
Console.WriteLine($"Printer State: {response.PrinterAttributes?.PrinterState}");

Examples

Setting the IPP Version

By default, operations use IPP version 1.1. To target another version (such as IPP 2.0, 2.1, or 2.2), set the Version property on your request object.

Documentation

For full documentation and API reference, please visit https://danielklecha.github.io/SharpIppNext/.

Contributing

Contributions are welcome! Please refer to the CONTRIBUTING.md file for more information on how to get started.

License

SharpIppNext is provided as-is under the MIT license.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
4.1.1 1,100 6/29/2026
4.1.0 342 6/21/2026
4.0.2 1,053 6/5/2026
4.0.1 1,085 5/31/2026
4.0.0 201 5/31/2026
3.0.0 16,667 2/27/2026
2.2.0 84,744 2/6/2026
2.1.6 1,627,638 11/13/2025
2.1.5 423 11/12/2025
2.1.4 1,217 11/6/2025
2.1.3 8,955 10/14/2025
2.1.2 551,615 3/25/2025
2.1.1 666 3/19/2025
2.1.0 2,011 3/18/2025 2.1.0 is deprecated because it has critical bugs.
2.0.0 913 3/9/2025
1.1.1 470 3/9/2025
1.0.12 43,611 10/2/2024
1.0.11 869 9/27/2024
1.0.10 348 9/27/2024
Loading failed