views:

105

answers:

1

Hello.

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.

If someone helps I'll appriciate it greatly.

P.S. Programming language is C#.

+1  A: 

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

Paulo Manuel Santos