Click here to Skip to main content
15,905,322 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all,
I want to change the details (Title, Description, Company, Product,...) of any file (e.g: txt, doc,...) with C# code. How to do this? I searched, but I found reading and getting the details of the file, not changing them. Thanks.
Posted
Comments
Sergey Alexandrovich Kryukov 7-Apr-14 14:36pm    
The words "any file" is really too much. It simply drives the "problem" away from any thinkable fixed scope. This is the reason why this question, as it is formulated, makes no sense.
—SA

"Title,Description,Company, Product" are read from the file structure of the file and cannot be changed easily without knowing the file format for each file.
 
Share this answer
 
Comments
Andrewpeter 7-Apr-14 11:25am    
Thanks, I saw: Resource Hacker can change every things of the file. So I think C# can write a soft to do that.
Mehdi Gholam 7-Apr-14 11:29am    
Resource Hacker only works with EXE files.
 
Share this answer
 
Comments
Andrewpeter 2-May-14 23:00pm    
Thanks. It's great.
ZurdoDev 3-May-14 11:36am    
You're welcome.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900