Summary
Returns a System.Diagnostics.FileVersionInfo representing the version
information associated with the specified file.
Syntax
[Function("get-version-info")]
public FileVersionInfo GetVersionInfo(string fileName)
Attributes
| Type |
Description |
| FunctionAttribute |
Indicates that the method should be exposed as a function in NAnt build
files.
|
Parameters
| Name |
Type |
Description |
| fileName |
string |
The file to retrieve the version information for. |
Return Value
| Type |
Description |
| FileVersionInfo |
A System.Diagnostics.FileVersionInfo containing information about the file.
|