Name

Application.ProductName Property

Class

System.Windows.Forms.Application

Syntax

Application.ProductName(  )

Return Value

A String containing the product name of the application

Description

Gets the product name of the application. This is a read-only property.

The value of the ProductName property can be defined by including the <AssemblyProduct> attribute in the application’s AssemblyInfo file. Its syntax is:

<Assembly: AssemblyProduct("sProduct")>

where sProduct is a string literal containing the product name.

VB.NET/VB 6 Differences

The ProductName property in the .NET Framework corresponds to the App. ProductName property in VB 6.

Get VB.NET Language in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.