Summary
Functions that provide version information for a physical file on disk.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Functions - Base Types
-
- Object
- FunctionSetBase
graph BT
Type-->Base0["FunctionSetBase"]
click Base0 "/api/NAnt.Core/FunctionSetBase"
Base0-->Base1["Object"]
Type["FileVersionInfoFunctions"]
class Type type-node
Syntax
[FunctionSet("fileversioninfo", "Version")]
public class FileVersionInfoFunctions : FunctionSetBase
Attributes
Type | Description |
---|---|
FunctionSetAttribute | Indicates that class should be treated as a set of functions. |
Constructors
Name | Summary |
---|---|
File |
Initializes a new instance of the NAnt.Core.Functions.FileVersionInfoFunctions class.
|
Properties
Name | Value | Summary |
---|---|---|
Project | Project |
Gets or sets the
NAnt.Core.FunctionSetBase.Project that this functionset will
reference.
Inherited from FunctionSetBase
|
Methods
Name | Value | Summary |
---|---|---|
GetCompanyName |
string |
Gets the name of the company that produced the file.
static
|
GetFileVersion |
Version |
Gets the file version of a file.
static
|
GetProductName |
string |
Gets the name of the product the file is distributed with.
static
|
GetProductVersion |
Version |
Gets the product version of a file.
static
|
GetVersionInfo |
FileVersionInfo |
Returns a
System.Diagnostics.FileVersionInfo representing the version
information associated with the specified file.
|