c# change FileVersionInfo for any file

2.5k Views Asked by At

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

Thanks.

1

There are 1 best solutions below

2
Mattias S On BEST ANSWER

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.