# TextControl.GetVersionInfo Method

> Returns an object of the type VersionInfo, which provides information about the installed TX Text Control version.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 21.0
- **Namespace:** `TXTextControl.WPF`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.WPF.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.WPF.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.WPF > TextControl.GetVersionInfo Method
- **307 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/getversioninfo-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/getversioninfo-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/getversioninfo-method/llms-full.txt

---

### Description

Returns an object of the type [VersionInfo](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/versioninfo/llms-full.txt), which provides information about the installed TX Text Control version.

### Syntax

```csharp
public VersionInfo GetVersionInfo();
```

```vbnet
Public Function GetVersionInfo() As VersionInfo
```

### Return Value

The return value is a [VersionInfo](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/versioninfo/llms-full.txt) object.

### Examples

The following example retrieves version info from the text control.

```csharp
var result = textControl.GetVersionInfo();
Console.WriteLine($"Get Version Info result: {result}");
```

```vbnet
Dim result = textControl.GetVersionInfo()
Console.WriteLine($"Get Version Info result: {result}")
```

---

## Nearby

- **Previous:** [TextControl.GetTextFields Method](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/gettextfields-method/llms-full.txt)
- **Next:** [TextControl.GetXmlElements Method](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/getxmlelements-method/llms-full.txt)
