Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. show release version

show release version

Scheduled Pinned Locked Moved C#
announcementquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    donkaiser
    wrote on last edited by
    #1

    Hello, I have 2 forms that i need to show the respective version in a dialog box or in another form. something like this: form1 version: 1.0.0.0 form2 version: 1.0.0.1 Cpyright.......... Im thinking to put in a class so that's any new form can use it. Any idea? Donkaiser

    M 1 Reply Last reply
    0
    • D donkaiser

      Hello, I have 2 forms that i need to show the respective version in a dialog box or in another form. something like this: form1 version: 1.0.0.0 form2 version: 1.0.0.1 Cpyright.......... Im thinking to put in a class so that's any new form can use it. Any idea? Donkaiser

      M Offline
      M Offline
      mav northwind
      wrote on last edited by
      #2

      Hi! You can access the version of the assembly your classes are in, but there is no way built in to have different versions for different types in the same assembly. Take a look at the Assembly.GetName() method and the AssemblyName.Version property. Regards, mav -- Black holes are the places where god divided by 0...

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups