You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
673 B
22 lines
673 B
using System; |
|
using System.Collections.Generic; |
|
using System.Linq; |
|
using System.Text; |
|
using System.Threading.Tasks; |
|
|
|
using System.Runtime.InteropServices; |
|
|
|
namespace ZeroTier |
|
{ |
|
static class libzt |
|
{ |
|
[DllImport("libzt.dll", CallingConvention = CallingConvention.StdCall)] |
|
public static extern int zts_startjoin(string path, string nwid); |
|
|
|
[DllImport("libzt.dll", CallingConvention = CallingConvention.StdCall)] |
|
public static extern int zts_socket(int socket_family, int socket_type, int protocol); |
|
|
|
[DllImport("libzt.dll", CallingConvention = CallingConvention.StdCall)] |
|
public static extern int zts_stop(); |
|
} |
|
}
|
|
|