Gets the physical file with a specific version of a file

Namespace: DotNetNuke.Services.FileSystem
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
FileVersionInfo GetFileVersion(
	IFileInfo file,
	int version
)
Visual Basic
Function GetFileVersion ( 
	file As IFileInfo,
	version As Integer
) As FileVersionInfo

Parameters

file
Type: DotNetNuke.Services.FileSystem..::..IFileInfo
The file to get the version from
version
Type: System..::..Int32
The number of the version to retrieve

Return Value

The version of the file

See Also