TDV.XuiClient 1.0.3

dotnet add package TDV.XuiClient --version 1.0.3
                    
NuGet\Install-Package TDV.XuiClient -Version 1.0.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TDV.XuiClient" Version="1.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TDV.XuiClient" Version="1.0.3" />
                    
Directory.Packages.props
<PackageReference Include="TDV.XuiClient" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TDV.XuiClient --version 1.0.3
                    
#r "nuget: TDV.XuiClient, 1.0.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package TDV.XuiClient@1.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TDV.XuiClient&version=1.0.3
                    
Install as a Cake Addin
#tool nuget:?package=TDV.XuiClient&version=1.0.3
                    
Install as a Cake Tool

Unofficial API client for XUI server

.net API wrapper for XUI server https://github.com/GFW4Fun/x-ui-pro

Install

Build the project yourself and connect it to the project as a .dll or install the nuget package TDV.XuiClient

Configuring

using TDV.XuiClient;

var _client = new XuiClient(panelUrl, login, password");

where panelUrl - server url, like https://panelhost.com/bvlYW94fK. Should be not ended on the / char login - panel login password - panel password

GetInbounds

Returns inbounds list

var inbounds = await _server.GetInbounds();

more code examples in TDV.XuiClient.Tests\ClientTests.cs

Tests

To run tests, set the panelUrl, login and password enviroment variables for TDV.XuiClient.Tests project

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.3 662 12/2/2025