locked
Get Version info from emebeded resource? RRS feed

  • Question

  • Hello,

    I have a embedded file resource in my winform application. I need to get the file version from that.

    One obvious way is to extract stream from that embedded resource and write it a file in a directory..and get the version of it..

    However, is there anyway that I can just get the file version without actually writing a file?

    Thanks,

    Monday, September 29, 2014 8:35 PM

Answers

  • In order to get the file version you have to extract the file, at least temporarily. You could extract the file, get the info you need and then delete the extracted file.

    Michael Taylor
    http://blogs.msmvps.com/p3net

    • Marked as answer by Caillen Tuesday, October 7, 2014 7:05 AM
    Monday, September 29, 2014 9:48 PM