Last post Jun 12, 2017 07:47 AM by Eric Du
Jun 09, 2017 04:47 AM|smartymca|LINK
I have a functionality which reads .xlsx file and process it successfully but now I have a requirement to read a password protected .xlsx file. I would like to know is it possible to read protected file ( password is provided ) with documentformat openxml,
if yes can anybody help me with code snippet.
Jun 12, 2017 07:47 AM|Eric Du|LINK
According to your description, as far as I know, OpenXml can not open the password protected file directly.
I think OpenXml open method doesn't provide password parameter, it is used to read the file stream, can't open the password protected file.