In The Hand LtdIn The Hand
GetVersionInfo Method (fileName)
NamespacesInTheHand.DiagnosticsFileVersionInfoGetVersionInfo(String)
.NET Components for Mobility
Returns a FileVersionInfo representing the version information associated with the specified file.
Declaration Syntax
C#Visual Basic
public static FileVersionInfo GetVersionInfo(
	string fileName
)
Public Shared Function GetVersionInfo ( _
	fileName As String _
) As FileVersionInfo
Parameters
fileName (String)
The fully qualified path and name of the file to retrieve the version information for.
Return Value
A FileVersionInfo containing information about the file. If the file information was not found, the FileVersionInfo contains only the name of the file requested.
Exceptions
ExceptionCondition
FileNotFoundExceptionThe file specified cannot be found.

Assembly: InTheHand (Module: InTheHand) Version: 7.0.0.0