# 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 Windows Forms
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 21.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Windows.Forms.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl > TextControl.GetVersionInfo Method
- **309 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/getversioninfo-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/getversioninfo-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/getversioninfo-method/llms-full.txt

---

### Description

Returns an object of the type [VersionInfo](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/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-winforms/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-winforms/reference/txtextcontrol/textcontrol/gettextfields-method/llms-full.txt)
- **Next:** [TextControl.GetXmlElements Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/getxmlelements-method/llms-full.txt)
