Shared Function GetFileVersion() As String
Dim res As String = ""
'Dim asm As Reflection.Assembly = Reflection.Assembly.GetExecutingAssembly()
Dim asm As Reflection.Assembly = Reflection.Assembly.GetCallingAssembly
Dim fvi As FileVersionInfo = FileVersionInfo.GetVersionInfo(asm.Location)
res = fvi.FileVersion
fvi = Nothing
asm = Nothing
Return res
End Function
06 December 2011
Ottiene la versione del FILE dell'assembly
05 December 2011
Subscribe to:
Posts (Atom)