# fileversioninfo::get-version-info

[This is preliminary documentation and subject to change.]

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

### Usage

`FileVersionInfo fileversioninfo::get-version-info(fileName)`

### Parameters

Name | Type | Description
--- | --- | ---
fileName | string | The file to retrieve the version information for.

### Return Value

A FileVersionInfo containing information about the file.

### Exceptions

The function will fail in any of the following circumstances:

- The file specified cannot be found.

### Requirements

Assembly: NAnt.Core (0.91.3881.0)