IronXL for .NET 2022.11.10251

New overloads allow you to accept a password for encrypted XLSX, XLSM and XLTX workbooks.
November 7, 2022
New Version

Features

  • Added overloads for WorkBook loading methods to accept a password for encrypted XLSX, XLSM and XLTX workbooks. Full list of added overloads:
    • TryLoad(string filename, string password, out WorkBook workBook).
    • Load(byte[] data, string password).
    • Load(Stream stream, string password).
    • LoadExcel(byte[] data, string password).
    • LoadExcel(Stream file, string password).
    • LoadExcel(string filename, string password).
    • FromByteArray(byte[] data, string password).
    • FromStream(Stream stream, string password).
  • Added new WorkBook.Encrypt(string password) method which will write a workbook into a MemoryStream, encrypt it using a password provided as an argument or the one stored in WorkBook.Password property and return resulting encrypted MemoryStream. Only supported for XLSX, XLSM and XLTX types of workbooks.
  • Added new WorkBook.Decrypt(Stream stream, string password) method which will decrypt a Stream a password provided as an argument and return resulting decrypted MemoryStream. Only supported for XLSX, XLSM and XLTX types of workbooks.
  • Improved precision of AutoSizeRow and AutoSizeColumn methods.
  • Improved performance of InsertRow method by 25%.
IronXL for .NET

IronXL for .NET

Read and edit Excel Spreadsheets in C# with no need for MS Office or Excel Interop.

IronXL for .NET is also available in:

Got a Question?

Live Chat with our Iron Software licensing specialists now.