- Install (via NuGet package):
Install-Package ZeroTier.Sockets
- Example usage: examples/csharp
- The SWIG interface file
zt.i
is only present for historical reference purposes. SWIG generates a ton of unnecessary boilerplate code which is hard to completely prevent by using hints. You can generate a new wrapper for yourself usingswig -c++ -csharp -dllimport "./libzt.so" zt.i
but I would not recommend doing so unless you know what you're in for.