Get App Version

This is a discussion on Get App Version within the C# Programming forums, part of the General Programming Boards category; Hey guys what is up. I am trying to load up an exe into system.reflection.assembly from C# to grab its ...

  1. #1
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,807

    Get App Version

    Hey guys what is up.

    I am trying to load up an exe into system.reflection.assembly from C# to grab its version info. Problem is that it is not a managed application so therefore system.reflection.assembly hates on me. Does anyone know how I could hook that up?. I have been googling with no success. Any help would be appreciated.

    Thanks.
    Woop?

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    Use P/Invoke with the resource WinAPI to get the version resource, perhaps?
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. OpenGl Version
    By Nextstopearth in forum Game Programming
    Replies: 6
    Last Post: 11-26-2008, 06:56 AM
  2. No Version info tab in file properties?
    By cpjust in forum Windows Programming
    Replies: 2
    Last Post: 06-03-2008, 03:42 PM
  3. Need help migrating console app to windows app
    By DelphiGuy in forum C++ Programming
    Replies: 1
    Last Post: 03-14-2004, 06:05 PM
  4. randomized version generally doesn't work
    By talz13 in forum C++ Programming
    Replies: 7
    Last Post: 11-08-2003, 11:39 AM
  5. Dev C++ Version 5
    By Zoalord in forum C++ Programming
    Replies: 3
    Last Post: 08-30-2003, 01:56 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21