We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

PasswordToOpen Property Not working

Thread ID:





130852 Jun 7,2017 07:31 AM UTC Jun 8,2017 12:04 PM UTC ASP.NET Core 1
Tags: XlsIO
Asked On June 7, 2017 07:31 AM UTC


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();

Sridhar Sukumar [Syncfusion]
Replied On June 8, 2017 12:04 PM UTC

Hi Vinayak,  

We regret to let you know that currently we do not have support for security features in portable platform. However, we have added it to our Feature request list and it will be implemented in any of our upcoming releases.      


Please let us know if you need any other assistance on this. 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon