0

I am using c# Closed.XML for creating excel files then i need protect them with a password.

Do you know anyway to protect excel file with a password by Closed.XML, or you know another way to creating password protection?

3

1 Answer 1

0

For create with password protection IXLWorksheet.Protect({string} yourpassword)

Read file without protection IXLWorksheet.Unprotect({string} yourpassword)

Sign up to request clarification or add additional context in comments.

1 Comment

As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.