Fraga
Fraga

Reputation: 1451

c# change FileVersionInfo for any file

With FileVersionInfo class is very easy to read file extra information, but is there any way i can change it?

Upvotes: 2

Views: 2653

Answers (1)

Mattias S
Mattias S

Reputation: 4808

There's no class in the .NET Framework that lets you do that easily. File version data is stored as a native resource, so it can be changed by functions like BeginUpdateResource. But it requires detailed knowledge about the format in which it's are stored in the executable.

Upvotes: 1

Related Questions