LeXtudio.DevFlow.Agent.WinForms
0.1.11
Prefix Reserved
dotnet add package LeXtudio.DevFlow.Agent.WinForms --version 0.1.11
NuGet\Install-Package LeXtudio.DevFlow.Agent.WinForms -Version 0.1.11
<PackageReference Include="LeXtudio.DevFlow.Agent.WinForms" Version="0.1.11" />
<PackageVersion Include="LeXtudio.DevFlow.Agent.WinForms" Version="0.1.11" />
<PackageReference Include="LeXtudio.DevFlow.Agent.WinForms" />
paket add LeXtudio.DevFlow.Agent.WinForms --version 0.1.11
#r "nuget: LeXtudio.DevFlow.Agent.WinForms, 0.1.11"
#:package LeXtudio.DevFlow.Agent.WinForms@0.1.11
#addin nuget:?package=LeXtudio.DevFlow.Agent.WinForms&version=0.1.11
#tool nuget:?package=LeXtudio.DevFlow.Agent.WinForms&version=0.1.11
LeXtudio.DevFlow.Agent.WinForms
WinForms-specific DevFlow runtime package for instrumenting classic WinForms applications.
This package builds on LeXtudio.DevFlow.Agent.Core and adds the WinForms visual tree walker, screenshot capture, and UI interaction support required for WinForms application automation.
Install
dotnet add package LeXtudio.DevFlow.Agent.WinForms
What is included
- WinForms visual tree inspection
- live screenshot capture from the application window
- element and selector screenshot capture
- mouse/tap action support for WinForms elements
- text input, clear, focus, key, and scroll actions for supported controls
- integration with the shared DevFlow HTTP API
Usage
Register the WinForms DevFlow agent in your application startup:
using System.Windows.Forms;
using LeXtudio.DevFlow.Agent.WinForms;
using Microsoft.Maui.DevFlow.Agent.Core;
internal static class Program
{
[STAThread]
private static void Main()
{
ApplicationConfiguration.Initialize();
var form = new MainForm();
var context = new ApplicationContext(form);
context.AddWinFormsDevFlowAgent(new AgentOptions { Port = 9223 });
Application.Run(context);
}
}
Getting Started
For a complete sample, see WinFormsDevFlowTestApp in this repository.
For common agent endpoints and port configuration notes, see the top-level DevFlow README.
Related Packages
- LeXtudio.DevFlow.Agent.Core
- LeXtudio.DevFlow.Driver
- LeXtudio.DevFlow.Agent.WPF
- LeXtudio.DevFlow.Agent.Uno
- LeXtudio.DevFlow.Agent.MewUI
Compatibility
- .NET 8.0+ on Windows
- WinForms applications only
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-windows7.0 is compatible. net9.0-windows was computed. net10.0-windows was computed. |
-
net8.0-windows7.0
- LeXtudio.DevFlow.Agent.Core (>= 0.1.11)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.