FileVersionInfo.GetVersionInfo ().ProductVersion performance
Posted on 2003-10-22
I have an app that calls FileVersionInfo.GetVersionInfo (<filename>).ProductVersion for all the files in a folder (90 files total).
After rebooting my PC, the first time I run this app, the 90 calls take 5 seconds. The second time they take .2 seconds. Can anyone explain the performance difference. Obviously something has been cached, but what?
The reason I'm asking is that our users turn on their PC in the morning, start this app and leave it running all day. I'm trying to improve the startup performance of the app.