Class Info
Provides information about the application, such as its version and description.
Inherited Members
Namespace: DataWeb.App
Assembly: DataWeb.Core.dll
Syntax
public static class Info
Properties
Description
Gets the application's description from the assembly metadata.
Declaration
public static string Description { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Retrieved from the AssemblyDescriptionAttribute. Defaults to "Unknown" if not available.
Version
Gets the application's semantic version (e.g., "1.0.0").
Declaration
public static string Version { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Extracts the semantic version from the assembly's informational version attribute, removing any build metadata suffix (e.g., "+commit123" becomes "1.0.0"). Defaults to "Unknown" if the version cannot be determined.