file version attribute

sdlangers

Well-known member
Joined
Dec 3, 2002
Messages
118
Hi,

Does anyone know how to get the file version from the properties of an exe file in .net?

e.g. if you right click on an exe and click properties and then click the version tab, the exes version number is displayed

i need a way in code to be able to get this version number

thanks
 
Try using System.Diagnostics.FileVersionInfo.

Dim myFileVersionInfo As FileVersionInfo = FileVersionInfo.GetVersionInfo("c:\SomeFile.txt")
 

Similar threads

S
Replies
0
Views
57
sva0008
S
E
Replies
0
Views
241
EN59CVH
E
J
Replies
0
Views
59
Jalil Sear [MCPD SharePoint]
J
Back
Top