Package DotNetLightning.ClnRpc
contains a utility to work with c-lightning
under DotNetLightning.ClnRpc
namespace.
The most important type is ClnClient
which you can use it for calling its Json RPC in a typesafe way.
See the example for how to use it.
c-lightning has a feature called plugin. See the c-lightning document to know what is the plugin (and how it works in general).
DotNetLightning.ClnRpc.Plugin
namespace contains a utility for building your own plugin.
The most important type is PluginServerBase
.
By overriding this type, you can easily create your own plugin.
Please read the API reference for how to use the type.
see its API reference and an example C# project for how to use.