Summary
Gets the product version of a file.
Syntax
[Function("get-product-version")]
public static Version GetProductVersion(FileVersionInfo fileVersionInfo)
Attributes
Type |
Description |
FunctionAttribute |
Indicates that the method should be exposed as a function in NAnt build
files.
|
Parameters
Name |
Type |
Description |
fileVersionInfo |
FileVersionInfo |
A System.Diagnostics.FileVersionInfo instance containing version information about a file. |
Return Value
Type |
Description |
Version |
The product version of a file.
|