LANCommander.SDK
1.0.1
See the version list below for details.
dotnet add package LANCommander.SDK --version 1.0.1
NuGet\Install-Package LANCommander.SDK -Version 1.0.1
<PackageReference Include="LANCommander.SDK" Version="1.0.1" />
paket add LANCommander.SDK --version 1.0.1
#r "nuget: LANCommander.SDK, 1.0.1"
// Install LANCommander.SDK as a Cake Addin #addin nuget:?package=LANCommander.SDK&version=1.0.1 // Install LANCommander.SDK as a Cake Tool #tool nuget:?package=LANCommander.SDK&version=1.0.1
LANCommander.SDK
The LANCommander SDK is a .NET 8 assembly designed to allow developers to implement their own client. Most of the core functionality of the official launcher is implemented directly in the SDK and currently supports functionality such as:
- Authentication to a LANCommander server
- Installation of games / redistributables
- Launching of games and play session tracking
- Media linking and downloading
- Game save uploading and downloading, including packing and extraction
- PowerShell script execution
- Updating player's alias and custom fields
- Submission of issues
- Game lobby scanning
Basic Use
In order to do almost anything through the SDK, you must have an authenticated instance of the LANCommander.SDK.Client
class. Here is an example of how to instantiate the class and authenticate to a server:
var client = new LANCommander.SDK.Client("http://localhost:1337", "C:\\Games");
await client.AuthenticateAsync("username", "password");
Once the client is authenticated, everything you need is available as a manager under the client. For example, to install a game by ID you might use the following:
await client.Games.InstallAsync("114f653d-ea91-484b-8fe9-8e9bb58bde81");
Documentation
For full documentation, review the official LANCommander documentation.
Product | Versions 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. |
-
net8.0
- CommandLineParser (>= 2.9.1)
- Crc32.NET (>= 1.2.0)
- Facepunch.Steamworks (>= 2.3.3)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.1)
- Microsoft.PowerShell.SDK (>= 7.4.5)
- PeanutButter.INI (>= 3.0.319)
- RestSharp (>= 112.0.0)
- Semver (>= 2.3.0)
- SharpCompress (>= 0.38.0)
- System.Management.Automation (>= 7.4.5)
- YamlDotNet (>= 16.1.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.