问题
With FileVersionInfo class is very easy to read file extra information, but is there any way i can change it?
Thanks.
回答1:
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.
来源:https://stackoverflow.com/questions/3785966/c-sharp-change-fileversioninfo-for-any-file