Add NuGet package and build scripts
This commit is contained in:
33
pkg/nuget/ZeroTier.Sockets/ZeroTier.Sockets.x64.nuspec
Normal file
33
pkg/nuget/ZeroTier.Sockets/ZeroTier.Sockets.x64.nuspec
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>ZeroTier.Sockets</id>
|
||||
<version>0.0.0</version>
|
||||
<authors>ZeroTier, Inc.</authors>
|
||||
<owners>ZeroTier, Inc.</owners>
|
||||
<projectUrl>http://github.com/zerotier/libzt</projectUrl>
|
||||
<license type="file">LICENSE.txt</license>
|
||||
<icon>icon.png</icon>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<releaseNotes>Initial release</releaseNotes>
|
||||
<description>Encrypted P2P SD-WAN networking layer (Managed C# API) [x64]</description>
|
||||
<title>Encrypted P2P SD-WAN networking layer (Managed C# API) [x64]</title>
|
||||
<copyright>Copyright 2021 ZeroTier, Inc.</copyright>
|
||||
<tags>p2p networking utility library sdwan socket tcp udp ip encryption vpn sdk zerotier libzt libzerotier native</tags>
|
||||
<repository type="git" url="https://github.com/zerotier/libzt" />
|
||||
<contentFiles>
|
||||
<files include="cs/**/*.*" buildAction="None" flatten="false" copyToOutput="true"/>
|
||||
</contentFiles>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="readme.txt" target="" />
|
||||
<file src="icon.png" target="" />
|
||||
<file src="lib\**" target="lib" />
|
||||
<file src="runtimes\**" target="runtimes" />
|
||||
<file src="licenses\LICENSE.txt" target="" />
|
||||
<file src="runtimes\win10-x64\lib\uap10.0\*.dll" target="ref\uap10.0" />
|
||||
<file src="contentFiles\*.cs" target="contentFiles\cs\any\ZeroTier.Source.ReadOnly" />
|
||||
<file src="runtimes\win10-x64\lib\uap10.0\*.dll" target="build" />
|
||||
<file src="runtimes\win10-x64\native\*.dll" target="ref\native" />
|
||||
</files>
|
||||
</package>
|
||||
33
pkg/nuget/ZeroTier.Sockets/ZeroTier.Sockets.x86.nuspec
Normal file
33
pkg/nuget/ZeroTier.Sockets/ZeroTier.Sockets.x86.nuspec
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>ZeroTier.Sockets.x86</id>
|
||||
<version>0.0.0</version>
|
||||
<authors>ZeroTier, Inc.</authors>
|
||||
<owners>ZeroTier, Inc.</owners>
|
||||
<projectUrl>http://github.com/zerotier/libzt</projectUrl>
|
||||
<license type="file">LICENSE.txt</license>
|
||||
<icon>icon.png</icon>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<releaseNotes>Initial release</releaseNotes>
|
||||
<description>Encrypted P2P SD-WAN networking layer (Managed C# API) [x86]</description>
|
||||
<title>Encrypted P2P SD-WAN networking layer (Managed C# API) [x86]</title>
|
||||
<copyright>Copyright 2021 ZeroTier, Inc.</copyright>
|
||||
<tags>p2p networking utility library sdwan socket tcp udp ip encryption vpn sdk zerotier libzt libzerotier native</tags>
|
||||
<repository type="git" url="https://github.com/zerotier/libzt" />
|
||||
<contentFiles>
|
||||
<files include="cs/**/*.*" buildAction="None" flatten="false" copyToOutput="true"/>
|
||||
</contentFiles>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="readme.txt" target="" />
|
||||
<file src="icon.png" target="" />
|
||||
<file src="lib\**" target="lib" />
|
||||
<file src="runtimes\**" target="runtimes" />
|
||||
<file src="licenses\LICENSE.txt" target="" />
|
||||
<file src="runtimes\win10-x86\lib\uap10.0\*.dll" target="ref\uap10.0" />
|
||||
<file src="contentFiles\*.cs" target="contentFiles\cs\any\ZeroTier.Source.ReadOnly" />
|
||||
<file src="runtimes\win10-x86\lib\uap10.0\*.dll" target="build" />
|
||||
<file src="runtimes\win10-x86\native\*.dll" target="ref\native" />
|
||||
</files>
|
||||
</package>
|
||||
BIN
pkg/nuget/ZeroTier.Sockets/icon.png
Normal file
BIN
pkg/nuget/ZeroTier.Sockets/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.9 KiB |
45
pkg/nuget/ZeroTier.Sockets/readme.txt
Normal file
45
pkg/nuget/ZeroTier.Sockets/readme.txt
Normal file
@@ -0,0 +1,45 @@
|
||||
-------------------------------------------------------------------------------
|
||||
ZeroTier.Sockets (libzt) --- Encrypted P2P SD-WAN networking layer
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
With ZeroTier's SDK you can embed a ZeroTier node into your application and
|
||||
communicate with other ZeroTier nodes (or non-ZeroTier devices bridged onto a
|
||||
ZeroTier network) securely within your own software-defined virtual network.
|
||||
|
||||
C# API:
|
||||
|
||||
- Guide: https://github.com/zerotier/libzt/tree/master/examples/csharp
|
||||
|
||||
This package presents a managed .NET-style Socket API. It is designed as
|
||||
a drop-in replacement for System.Net.Sockets. This is the easiest and most
|
||||
idiomatic way to use ZeroTier in a C# application.
|
||||
|
||||
Self-hosting:
|
||||
|
||||
ZeroTier operates a hosted service (https://my.zerotier.com) that lets you
|
||||
manage your virtual networks. If however you would like to self-host we make
|
||||
that possible too:
|
||||
|
||||
- https://github.com/zerotier/ZeroTierOne/tree/master/controller
|
||||
|
||||
Other API options:
|
||||
|
||||
We offer two other API layers depending on your use case. The first is a lower-
|
||||
level BSD-style socket API. This API is similar to BSD-style sockets
|
||||
(zts_socket(), zts_listen(), zts_bind(), etc.) The second is a Highly-
|
||||
performant virtual Ethernet layer. It can be used for any transport protocol
|
||||
and is only recommended for those who have advanced or specialty applications.
|
||||
|
||||
Bug?
|
||||
|
||||
You should let us know so we can fix it. Please open a github issue here:
|
||||
|
||||
- https://www.github.com/zerotier/libzt
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
LINKS
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
- Documentation and bug reports: https://www.github.com/zerotier/libzt
|
||||
- Website: https://www.zerotier.com
|
||||
- Community: https://discuss.zerotier.com
|
||||
Reference in New Issue
Block a user