NAnt SDK Documentation - v0.92

FileVersionInfoFunctions.GetProductName Method 

Gets the name of the product the file is distributed with.

[Visual Basic]
<Function(Name:="get-product-name")>
Public Shared Function GetProductName( _
   ByVal fileVersionInfo As FileVersionInfo _
) As String
[C#]
[Function(Name="get-product-name")]
public static string GetProductName(
   FileVersionInfo fileVersionInfo
);

Parameters

fileVersionInfo
A FileVersionInfo instance containing version information about a file.

Return Value

The name of the product the file is distributed with.

See Also

FileVersionInfoFunctions Class | NAnt.Core.Functions Namespace