show release version
-
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
-
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
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 theAssemblyName.Version
property. Regards, mav -- Black holes are the places where god divided by 0...