Rohit-5650 avatar image
0 Votes"
Rohit-5650 asked

Parsing a RMS encrypted Word file


I am working on a Windows standalone application. [ I can not disclose the name as per our company policy]
I installed Azure Information Protection Client.
Then I protected the Word file with the below steps:
1. Go to File ribbon > Info tab
2. "Protect Document" button > Restrict Access > Restricted Access
4. Check "Restrict permission to this document" > OK
5. Save the document > Exit the application

Now my Application tries to parse this restricted file with the below steps.
1. Unzip the Word file
2. Read the OOXML content and extract needed information
3. Create an output file with this extracted information
but the application cannot unzip the word file because it is restricted.

So my question is do we have any Microsoft API to unzip the restricted file?
is there any other way to read OOXML data from such a restricted file?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers