xInfo.productName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the name of the product.
public:
static System::String ^ productName();
public static string productName ();
static member productName : unit -> string
Public Shared Function productName () As String
Returns
A string that contains the name of the product.
Remarks
The following example returns system information, including the name of the product.
str environment()
{
return xInfo::buildNo() + ' - '
+ xInfo::compilationDate() + ' - '
+ xInfo::dbName() + ' - '
+ xInfo::osName() + ' - '
+ xInfo::productName() + ' - '
+ xInfo::releaseVersion();
}