PnpLib.Common 1.3.4

dotnet add package PnpLib.Common --version 1.3.4                
NuGet\Install-Package PnpLib.Common -Version 1.3.4                
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="PnpLib.Common" Version="1.3.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PnpLib.Common --version 1.3.4                
#r "nuget: PnpLib.Common, 1.3.4"                
#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.
// Install PnpLib.Common as a Cake Addin
#addin nuget:?package=PnpLib.Common&version=1.3.4

// Install PnpLib.Common as a Cake Tool
#tool nuget:?package=PnpLib.Common&version=1.3.4                

PnpLib.Common

v 1.3.4.0

Changes this version

  • Added FileUtilities.CompressFile and FileUtilities.DecompressFile methods to compress / decompress a single file in place
  • Added missing XML documentation

Breaking Changes this version

  • None

Previous Versions

Version 1.3.3.0

  • Added checks on ZipHelper.RegisterEventsIfNull so if NULL is passed as a parameter it does not attempt to register the event
  • Made the PnpArchive class virtual so it can be overridden and certain aspects of the class can be changed

Version 1.3.2.0

  • Added IsUncPath extension method so we can now detect UNC paths

Version 1.3.1.0

  • Added ability to convert LogEntry to a formatted string so it can be used with the new DependencyInjection ILogger implementations

Version 1.3.0.0

  • Code refactoring, spelling corrections, other misc changes to code formatting
  • Added the Classic namespace for the .NET 4.8 version of the library
Breaking Changes this version
  • Some property names and event names were changed to better reflect standard coding styles and/or to correct spelling mistakes
  • Some method signatures were changed to remove unused / debugging variables

Version 1.2.9.5

  • Emergency bugfix: the ToCsvFile() extension method would throw a NullReferenceException if the propertyOverride parameter was not provided or set to null

Version 1.2.9.4

  • Added extension methods to save objects to an encrypted file and load objects from encrypted file through either serialization or a custom-defined method that returns an array of bytes. Note: the stream returned must be less than 2GB in size or you will get an OutOfMemory runtime exception.
  • Added extension method to detect if a type has a specific attribute (there was already an extension method for a property of a class, but not the class itself).
  • Added ToCsvFile() extension methods
  • Added CsvIgnoreAttribute - allows you to skip a property for parsing by the ToCsvFile() method

Version 1.2.9.3

  • Misc code refactoring
  • Removed all compile warnings
  • Added ability to parse an existing connection string to SqlDatabase
  • Added the 'DefaultSqlConnectionTemplate' property to SqlDatabase to serve as a template for creating SqlDatabase objects

Version 1.2.9.2

  • Fixed bug in SqlDatabase.IsValid where it would always return true
  • Added ICloneable system to the LogSettings types
  • Added IsValid method to the LogSettings types
  • Misc code refactoring

Version 1.2.9.1

  • Added the ProgressObject system for reporting progress messages to user

Version 1.2.9

  • Added the ZipHelper and ZipEntryFileInfo classes
  • Added the PnpArchive system
  • Added the enums and delegates for message box display - the library does not include the System.Windows.Forms namespace so this provides a way to add the functionality later.
  • Updated some documentation

Version 1.2.8

  • Added security disclaimer to the TrustServerCertificate property
  • Refactored the FileLogSettings class to make it easier to use and understand
  • Added convenience method to SqlDatabase class to convert to a SqlConnection object and optionally temporarily set the TrustServerCertificate flag
Breaking Changes this version
  • Some properties have been removed from the controls - it is no longer possible to set the values from the Visual Studio designer.

Version 1.2.7.1

  • Bugfix for SqlDatabase class - added the TrustServerCertificate property to combat SSL errors during connect

Version 1.2.7

  • Added more extension methods for mathematical operations and object manipulation
  • Added default parameterless constructor for SqlDatabase() so it can be properly serialized

Version 1.2.6

  • Added LogSettings objects (FileLogSettings and MsSqlDatabaseLogSettings
  • Code refactoring

Version 1.2.5

  • Added unit tests
  • Added equality checking to multiple objects
  • Added equality operator overloading to multiple objects
  • Made constructors for KeyFileCollection and KeyFile public
  • Fixed bug in KeyFileCollection constructor that failed to initialize the FileFormat property correctly
  • Fixed bug in KeyFileCollection which caused the Load operation to fail every time

Version 1.2.4

  • Refactored code - some function declarations have changed and will need to be updated
  • Fixed XML documentation errors
  • Added PnpApplicationSerialCollection class and made KeyFileCollection and PnpApplicationSerialCollection use the same file format
  • Stability and performance fixes

Version 1.2.3

  • Moved serial validation code to its own namespace inside PnpLib.Common.Security
  • Fixed bug in FileUtilities.DecryptFileContents() which prevented the file from decrypting properly

Version 1.2.2

  • Added PnpApplication
  • Added PnpApplicationSerial
  • Added ability to encrypt / decrypt files to alternate locations instead of performing the operation in-place
  • Refactored code
Breaking Changes this version
  • The FileUtilities.EncryptFileContents() and FileUtilities.DecryptFileContents() methods have been re-written so that the file format is the same whether you provide a key to use or use a randomly generated one. Because of this, files that were encrypted with previous versions of the library may become corrupt when you use this version to decrypt them.

Workaround for this breaking change: Before upgrading to the latest version of the library, decrypt all files that have been encrypted with version 1.2.1 of the library (which will decrypt all files in place) then you can safely upgrade the library and encrypt the files again.

Version 1.2.1

  • Fixed serial key logic to be more intuitive
  • Added KeyFileType enum

Version 1.2.0

  • Added serial key validation logic

Version 1.1.1

  • Added XML documentation
  • Fixed minor bugs and included error trapping on file encryption methods

Version 1.1.0

  • Initial public release
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on PnpLib.Common:

Package Downloads
PnpLib.Common.Controls

User controls related to the PnpLib.Common project that can be added to WinForms applications

PpsPluginFramework

Framework for plugins for the AzureIpUtility project

AzureIPUtility

Utility for manipulating objects in an Azure tenant

IpUtilityLib

Utility library for the AzureIPUtility project

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.3.4 455 7/22/2022
1.3.3 431 7/11/2022
1.3.2 421 6/29/2022
1.3.0 385 6/16/2022
1.2.9.5 411 3/15/2022
1.2.9.3 432 3/10/2022
1.2.9.2 434 2/4/2022
1.2.9.1 428 2/1/2022
1.2.9 422 1/31/2022
1.2.8 263 1/14/2022
1.2.7.1 293 12/18/2021
1.2.7 285 12/14/2021
1.2.6 447 12/12/2021
1.2.5 282 12/10/2021
1.2.4 278 12/10/2021
1.2.3 298 12/9/2021
1.2.2 286 12/9/2021
1.2.1 271 12/8/2021
1.2.0 286 12/7/2021
1.1.1 272 12/6/2021
1.1.0 287 12/6/2021

Code refactoring, spelling corrections, other misc changes to code formatting