Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

How to remove properties and personal information from a file (programmatically)

$
0
0

Hi everyone.

When you click with right button in some file, and choose "properties", you can see the personal information of the creator in details tabs, like the screen below:

001

All kind of files has different type of properties: .mp3, .cdr, .doc, .tiff, etc...

But if you click in "Remove Properties and Personal Information" in this same screen, you will see this:

002

How you see, Windows allow to you remove everything, just selecting all and clicking in "OK".

What I ask is: how I do this same thing in C#? The default .NET framework don´t give access to this kind of action. This is a SO action, right?

I tryed to use the "shelld32.dll" to do it, but it just allow to read the info, not setting.
The Attributes Files info don´t work too.

Anyone know what SO DLL I can use to do the same action tha SO do?

Ty!


Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>