c# change FileVersionInfo for any file

笑着哭i 提交于 2020-02-24 14:30:11

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!