In vb6, I could use "App" for displaying the Assembly version number, ie

VB Code:
  1. Me.Caption = Me.Caption & " [V" & App.Major & "." & App.Minor & "." & App.Revision & "]"

Is there a similar way of doing it in .Net? I notice there is a system.version class - but have so far only found it used in the system.Environment namespace (and it isn't the assembly version number).

There best I have found so far is.
VB Code:
  1. Private Function GetAssemblyVersion() As String
  2.       '* Get the Assembly Version of current object *
  3.       Dim strElements() As String
  4.       Dim strName As String
  5.  
  6.       strName = System.Reflection.GetExecutingAssembly.FullName()
  7.       strElements = strName.Split(CType(",", Char))
  8.  
  9.       Return strElements(1)
  10.   End Function

But I kind of expected it to be more readably available...