Hi,
I am using
"Syncfusion.XlsIO.Portable": "15.2120.0.43",
"Syncfusion.Compression.Portable": "15.2120.0.43",
I'm tring to set the password for my xls file but the PasswordToOpen
property is not working.
i'm using the below code to set the password.
IWorkbook workbook = application.Workbooks.Open(ms_template, ExcelOpenType.BIFF);
workbook.PasswordToOpen = "abcd";
MemoryStream memoryStream = new MemoryStream();
workbook.SaveAs(memoryStream);
workbook.Close();
excelEngine.Dispose();