Codeuctivity.PdfAValidator
4.0.345
dotnet add package Codeuctivity.PdfAValidator --version 4.0.345
NuGet\Install-Package Codeuctivity.PdfAValidator -Version 4.0.345
<PackageReference Include="Codeuctivity.PdfAValidator" Version="4.0.345" />
<PackageVersion Include="Codeuctivity.PdfAValidator" Version="4.0.345" />
<PackageReference Include="Codeuctivity.PdfAValidator" />
paket add Codeuctivity.PdfAValidator --version 4.0.345
#r "nuget: Codeuctivity.PdfAValidator, 4.0.345"
#:package Codeuctivity.PdfAValidator@4.0.345
#addin nuget:?package=Codeuctivity.PdfAValidator&version=4.0.345
#tool nuget:?package=Codeuctivity.PdfAValidator&version=4.0.345
Codeuctivity.PdfAValidator
PdfAValidatorApi wraps calls to VeraPdf. Access VeraPdf from your unit tests. Works on Windows, Linux and MacOs.
Sample - e.g. use it in your unit test to check compliance of some pdf:
public static async Task ShouldDetectCompliantPdfA()
{
using var pdfAValidator = new PdfAValidator();
var result = await pdfAValidator.ValidateAsync("./TestPdfFiles/FromLibreOffice.pdf");
Assert.True(result);
}
Sample - e.g. use it in your unit test to check the used sub standard of some pdf:
public static async Task ShouldGetDetailedReportFromPdfA()
{
using var pdfAValidator = new PdfAValidator();
var result = await pdfAValidator.ValidateWithDetailedReportAsync("./TestPdfFiles/FromLibreOffice.pdf");
Assert.True(result.Jobs.Job.ValidationReport.IsCompliant);
Assert.True(result.Jobs.Job.ValidationReport.ProfileName == "PDF/A-1a validation profile");
}
Sample - e.g. use it in your unit test to check PDF meta data:
public static async Task ShouldGetFeaturesReportWhenAskingForIt()
{
using var pdfAValidator = new PdfAValidator();
var result = await pdfAValidator.ValidateWithDetailedReportAsync("./TestPdfFiles/FromLibreOffice.pdf", "--extract informationDict");
var producerEntry = result.Jobs.Job.FeaturesReport.InformationDict.Entries.Single(e => e.Key == "Producer");
Assert.Equal("LibreOffice 6.1", producerEntry.Value);
}
Requirements
- Windows: nothing, a Java runtime is included.
- Linux and macOS: a Java runtime (8 or newer) on the
PATHor viaJAVA_HOME.
Third-party components
This package bundles veraPDF (GPL-3.0-or-later / MPL-2.0) and, for Windows, an OpenJDK 8 JRE (GPL-2.0 with Classpath Exception). See THIRD-PARTY-NOTICES.md for licenses and source code.
| 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. |
-
net10.0
- No dependencies.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.345 | 0 | 11/29/2026 |
| 4.0.340 | 0 | 11/28/2026 |
| 4.0.333 | 0 | 11/28/2026 |
| 4.0.327 | 0 | 11/28/2026 |
| 4.0.325 | 0 | 11/28/2026 |
| 3.0.308 | 0 | 8/4/2026 |
| 3.0.305 | 0 | 7/21/2026 |
| 3.0.302 | 0 | 7/18/2026 |
| 3.0.299 | 0 | 6/22/2026 |
| 3.0.296 | 0 | 3/2/2026 |
| 3.0.295 | 0 | 3/2/2026 |
| 3.0.294 | 0 | 3/2/2026 |
| 3.0.275 | 0 | 10/24/2025 |
| 3.0.258 | 2 | 9/30/2024 |
| 3.0.253 | 1 | 9/29/2024 |
| 3.0.248 | 1 | 8/27/2024 |
| 3.0.245 | 0 | 8/21/2024 |
| 3.0.242 | 0 | 8/20/2024 |
| 3.0.237 | 0 | 8/2/2024 |
| 3.0.234 | 1 | 5/22/2024 |
Merge pull request #140 from Codeuctivity/docs-fix-outdated
Docs: fix outdated setup and target information