none
getting file version information RRS feed

  • Question


  • Can file version information be accessed by C# via .NET (perhaps via the File.GetAttributes method)?

    <>
    If not, can C# call  a .vbs script that can access file version info?

    thanks!

    Geoff Lloyd


     

    Sunday, September 10, 2006 5:14 PM

Answers

  • Hi,

    try to retrieve file version information with the FileVersionInfo class:

    FileVersionInfo.GetVersionInfo("c:\\myfile.dll")

    Andrej

     

    Sunday, September 10, 2006 5:35 PM