1

I have a folder with lots of doc-documents and I need to upload their context into database. The problem is that some of them are password protected and I don't know the password. I would like to skip them but I don't know how to detect if password protection presents.

P.S. Programming language is C#.

BenMorel
  • 34,448
  • 50
  • 182
  • 322
StuffHappens
  • 6,457
  • 13
  • 70
  • 95

1 Answers1

1

These links seem to answer your question:
To know Word is password protected
Skipping Password-Protected Documents in a Batch Process

pauloya
  • 2,535
  • 3
  • 30
  • 50