SkillAgentSearch skills...

TouchPortalSDK

Touch Portal SDK for .Net

Install / Use

/learn @oddbear/TouchPortalSDK
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Touch Portal .Net SDK

Nuget Nuget (with prereleases)

Touch Portal SDK for making plugins in .Net

Build from documentation at Touch Portal Plugin API.

Getting started:

The simplest way of getting started, is to implement the ITouchPortalEventHandler and use TouchPortalFactory to create a client. And then Connect to Touch Portal before sending or receiving events.

public class SamplePlugin : ITouchPortalEventHandler
{
    public string PluginId => "Plugin.Id"; //Replace "Plugin.Id" with your unique id.

    private readonly ITouchPortalClient _client;

    public SamplePlugin()
    {
        _client = TouchPortalFactory.CreateClient(this);
    }

    public void Run()
    {
        _client.Connect();
    }
    ...

More information on the Wiki, or see the Sample project in this repository.

[Work in progress] Extensions

Repository: TouchPortalSDK.Extensions

The TouchPortalSDK is ment to be the basic simple SDK, but there is an extended version aim to be like the Java SDK.

  • Automatic generation of entry.tp
  • Automatic generation of .tpp package file.
View on GitHub
GitHub Stars10
CategoryDevelopment
Updated2mo ago
Forks4

Languages

C#

Security Score

95/100

Audited on Jan 16, 2026

No findings