EncryptedPDF 2.0.0
dotnet add package EncryptedPDF --version 2.0.0
NuGet\Install-Package EncryptedPDF -Version 2.0.0
<PackageReference Include="EncryptedPDF" Version="2.0.0" />
paket add EncryptedPDF --version 2.0.0
#r "nuget: EncryptedPDF, 2.0.0"
// Install EncryptedPDF as a Cake Addin #addin nuget:?package=EncryptedPDF&version=2.0.0 // Install EncryptedPDF as a Cake Tool #tool nuget:?package=EncryptedPDF&version=2.0.0
Encrypte Pdf files!
This plugin allows to generate a strongly secured encrypted file with a password .
Methods
- The Save() method allows to save the file after encrypting and securing it in a folder of the user's choice.
allows to generate a PDF file after decrypting and checking the given password.
- allows to save the file after having encrypted and secured it in a folder of the user's choice.
> sourcePath: represents the full path of the file you want to encrypt.
> password: represents the password used to encrypt and/or decrypt the file.
> folderWhereToSave : represents the folder where you want to save the encrypted file.
> newFileName: represents the encrypted file name.
> extensionName : represents the encrypted file extention (by default the extention is .ferdaws).
The Generate() method allows to generate a PDF file after decrypting and checking the given password.
- allows to generate a PDF file after decrypting and checking the given password. > sourcePath : represents the full path of the encrypted file you want to decrypt > password: represents the password used to encrypt and/or decrypt the file. > folderWhereToSave : represents the folder where you want to save the decrypted file.
Plugin installation
nuget install EncryptedPDF.1.0.0
Or install it directly by searching for EncryptedPDF from Nuget Packages Manager.
Example of use
To test this plugin we will use both methods in an ASP.NET MVC application.
public ActionResult Index()
{
CryptedPDF.PdfCrypter cryp = new CryptedPDF.PdfCrypter();
string sourcePath =@"D:\\Downloads\\CV_TOUFIK_EL_AZZAOUI.pdf";
cryp.Generate("abcd", sourcePath , "C:\\Users\\dell\\Desktop\\LIB");
return View();
}
Contact
For more information github:
by email : toufik.elazzaoui.89@gmail.com
Product | Versions 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. |
.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. |
-
.NETStandard 2.0
- No dependencies.
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 |
---|---|---|
2.0.0 | 462 | 10/13/2022 |