How do I get rid of the annoying Acrobat Reader message ("This document enabled extended features...")?

Q:

I am using PDFNet SDK to edit all kinds of PDF documents submitted by
our users each day. Some of the files have extended usage rights or
simply being reader enabled.

After document is modified using PDFNet (or anything else) I get the
following message in Acrobat Reader:

"This document enabled extended features in Acrobat Reader. The
document has been changed since is was created and use of extended
features is no longer available" ... bla bla.

How do I get rid of the annoying Acrobat Reader message?
----------------

A: You can get rid of the Acrobat message using the following line:

pdfdoc.GetRoot().Erase("Perm");

For more info, please see:

http://groups.google.com/group/pdfnet-sdk/t/b7a34501124ba965
http://groups.google.com/group/pdfnet-sdk/t/926a3e2ed629398b