How to print versions of vbc and .NET Framework and OS?

  • Thread starter Thread starter Siegfried Heintze
  • Start date Start date
S

Siegfried Heintze

Can someone point me to an example of a little program that will display

(1) the version of vbc used to compile the program
(2) the version of .NET framework I am running on ?
(3) the version of the OS (and which OS) I am running?

Can this be a portable program that will run everywhere: even on linux
(using mono) and my smart phone?

Thanks
Siegfrid
 
Siegfried Heintze said:
Can someone point me to an example of a little program that will display

(1) the version of vbc used to compile the program
(2) the version of .NET framework I am running on ?
(3) the version of the OS (and which OS) I am running?

(2) CLR: 'Environment.Version'.
(3) See class 'OSVersion'.
 
Can someone point me to an example of a little program that will display

(1) the version of vbc used to compile the program
(2) the version of .NET framework I am running on ?
(3) the version of the OS (and which OS) I am running?

Can this be a portable program that will run everywhere: even on linux
(using mono) and my smart phone?

Thanks
Siegfrid

1- It's about IDE you're using, don't know how to call under your
program
2- For just Framework version: Environment.Version.ToString
3- For OS Full name :My.Computer.Info.OSFullName
For OS version: My.Computer.Info.OSVersion
 
Back
Top