This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangyang-libzt/examples/csharp/csproj_dll
2018-07-19 17:35:42 -07:00
..
2018-07-19 17:35:42 -07:00

libzt in C# via DLL import


  • Add libzt.dll and libzt.lib to solution as existing items.
  • Place libzt.dll in the same directory as the executable.
  • Add using ZeroTier; to beginning of application source.
  • Access functions via static class libzt. For example, libzt.zt_socket(...)

The Windows .dll and .lib files are provided pre-built at the above links, but if you'd like build instructions you can check out BUILDING.md