Property
| Name |
|---|
| Version |
| VersionDev |
| VersionWithPrefix |
| VersionWithPrefixDev |
| ProductName |
| ProductNameDisplay |
| ProductNameDev |
| ProductNameDisplayDev |
| ProductNameAndVersion |
| ProductNameAndVersionDisplay |
| ProductNameAndVersionDev |
| ProductNameAndVersionDisplayDev |
| GetVersion |
| GetFileVersionInfo |
| GetProcess |
1 | var stringVersion = ProcessInfoHelper.Version; // 1.0.0 |
Display Variant
Properties with Display in their name return a more readable product name where dots (.) are replaced with spaces.
If the product name is not available, “Unknown Product” is returned.
1 | // Raw product name |
Dev
Properties with Dev in their name indicate a development build.
In Debug mode, the property appends Dev to indicate it is a development build.
In Release mode, they behave like the normal property.
1 | // Product name in Debug mode |
Demo
you can run demo and see this feature.