The Versioning class provides methods and properties related to versioning.
More...
|
static readonly Version | InvalidVersion = new Version(0, 0, 0) |
| Represents an invalid version with all components set to zero. More...
|
|
The Versioning class provides methods and properties related to versioning.
◆ AssemblyFileVersion()
static string AssemblyFileVersion |
( |
| ) |
|
|
static |
Gets the assembly version as a string.
- Returns
- The assembly version as a string.
◆ ShortVersion()
static Version ShortVersion |
( |
this Version |
version | ) |
|
|
static |
Get the short version of the version.
- Parameters
-
version | The version to get the short version of. |
◆ InvalidVersion
readonly Version InvalidVersion = new Version(0, 0, 0) |
|
static |
Represents an invalid version with all components set to zero.
◆ GetCurrentVersion
Version GetCurrentVersion |
|
staticget |
Gets the current version of the assembly.