DataWeb
Search Results for

    Show / Hide Table of Contents

    Class Info

    Provides information about the application, such as its version and description.

    Inheritance
    object
    Info
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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.

    In this article
    Back to top Generated by DocFX