TX Text Control .NET for WPF

VersionInfo Class

Class|Introduced in 21.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.

Description

The VersionInfo class provides information about the running TX Text Control version, such as the version number, the installed service pack number and the product level.

Syntax

public class VersionInfo

Examples

The following example verifies that the installed TX Text Control runtime has the required major version.

VersionInfo versionInfo = textControl.GetVersionInfo();
if (versionInfo.Major < 34)
{
    throw new NotSupportedException("TX Text Control 34 or later is required.");
}

Members

Properties

PropertyDescription
LevelNot described in the reference. public VersionInfo.ProductLevel Level { get; }
MajorGets the major version number.
MinorGets the minor version number.
ProductLevelGets the installed product level.
ServicePackGets the number of the installed service pack. The original version has the service pack number 0.