A developer working in front of some html code

EASILY INTEGRATE ALL-ABOUT-PDF’s ROBUST DRM PROTECTION INTO YOUR APPS

FOR MS .NET FRAMEWORK

To integrate All-About-PDF’s DRM protection for PDF documents into your apps, simply add a reference to our component and a few lines of code. Get started now!

FOR WEB + MOBILE APPS

You can integrate All-About-PDF’s DRM protection into your web and mobile apps by utilizing our standard-based REST API. You can also embed the PDFe Reader into your web app/site

three software developers discussing in front of 3 screens

It couldn’t be any easier to use All-About-PDF’s DRM from your code


First, add the AllAboutPDF.DRM NuGet package into your project:

PM> Install-Package AllAboutPDF.DRM -Version 1.0.0

Once the package has been added to your project, you can add an expiry date to a PDF using the code sample below:

var license = "TRIAL-LICENSE-KEY"; var ctrl = new AllAboutPDF.DRM.DRMController(license); var DrmSettings = new AllAboutPDF.DRM.PayloadModel() { AllowPrinting = false, ExpiryDate = DateTime.Now.AddDays(1), ExpiryMessage = "The document has expired", }; ctrl.ProtectPDF(@"C:\Demo\Company Details 2020.pdf", DrmSettings, @"C:\Demo\Company Details 2020.pdfe");

NOTE: When using the “TRIAL-LICENSE-KEY”, your document’s expiry date will always be in 24 hours and a special message will be appended to your expiry message.


Get in touch to request your trial now