PnpLib.Common 1.2.9.5

There is a newer version of this package available.
See the version list below for details.
dotnet add package PnpLib.Common --version 1.2.9.5                
NuGet\Install-Package PnpLib.Common -Version 1.2.9.5                
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.2.9.5" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PnpLib.Common --version 1.2.9.5                
#r "nuget: PnpLib.Common, 1.2.9.5"                
#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.2.9.5

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

PnpLib.Common

v 1.2.9.5

Changes this version

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

Breaking Changes this version

  • None

Previous Versions

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 453 7/22/2022
1.3.3 429 7/11/2022
1.3.2 419 6/29/2022
1.3.0 383 6/16/2022
1.2.9.5 409 3/15/2022
1.2.9.3 430 3/10/2022
1.2.9.2 432 2/4/2022
1.2.9.1 426 2/1/2022
1.2.9 420 1/31/2022
1.2.8 261 1/14/2022
1.2.7.1 291 12/18/2021
1.2.7 283 12/14/2021
1.2.6 443 12/12/2021
1.2.5 280 12/10/2021
1.2.4 276 12/10/2021
1.2.3 296 12/9/2021
1.2.2 284 12/9/2021
1.2.1 269 12/8/2021
1.2.0 284 12/7/2021
1.1.1 270 12/6/2021
1.1.0 285 12/6/2021

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