Search Results for

    Show / Hide Table of Contents

    Class VersionInfo

    Helper for reading assembly and file version numbers and deciding whether one version supersedes another, used to determine when files require upgrading.

    Inheritance
    object
    VersionInfo
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Reportman.Drawing
    Assembly: Reportman.Drawing.dll
    Syntax
    public class VersionInfo

    Constructors

    View Source

    VersionInfo()

    Declaration
    public VersionInfo()

    Methods

    View Source

    GetAssemblyVersion()

    Declaration
    public static Version GetAssemblyVersion()
    Returns
    Type Description
    Version
    View Source

    GetAssemblyVersion(string)

    Declaration
    public static Version GetAssemblyVersion(string filename)
    Parameters
    Type Name Description
    string filename
    Returns
    Type Description
    Version
    View Source

    GetFileVersion(string)

    Declaration
    public static Version GetFileVersion(string filename)
    Parameters
    Type Name Description
    string filename
    Returns
    Type Description
    Version
    View Source

    RequireUpgrade(string, string)

    Declaration
    public static bool RequireUpgrade(string oldfilename, string newfilename)
    Parameters
    Type Name Description
    string oldfilename
    string newfilename
    Returns
    Type Description
    bool
    View Source

    RequireUpgrade(Version, Version)

    Declaration
    public static bool RequireUpgrade(Version oldversion, Version newversion)
    Parameters
    Type Name Description
    Version oldversion
    Version newversion
    Returns
    Type Description
    bool
    • View Source
    In this article
    Back to top Generated by DocFX