System.Diagnostics.FileVersionInfo.GetVersionInfo Method

Returns a System.Diagnostics.FileVersionInfo representing the version information associated with the specified file.

Syntax

public static FileVersionInfo GetVersionInfo (string fileName)

Parameters

fileName
The fully qualified path and name of the file to retrieve the version information for.

Returns

A System.Diagnostics.FileVersionInfo containing information about the file. If the file did not contain version information, the System.Diagnostics.FileVersionInfo contains only the name of the file requested.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Diagnostics
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0