# fileversioninfo::get-file-version

[This is preliminary documentation and subject to change.]

Gets the file version of a file.

### Usage

`Version fileversioninfo::get-file-version(fileVersionInfo)`

### Parameters

Name | Type | Description
--- | --- | ---
fileVersionInfo | FileVersionInfo | A FileVersionInfo instance containing version information about a file.

### Return Value

The file version of a file.

### Requirements

Assembly: NAnt.Core (0.91.3881.0)