mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-07 21:41:43 -07:00
Windows Service stubs...
This commit is contained in:
parent
6bc5a84a2d
commit
f0dd90d9d7
10 changed files with 407 additions and 3 deletions
25
windows/ZeroTierOneService/Program.cs
Normal file
25
windows/ZeroTierOneService/Program.cs
Normal file
|
@ -0,0 +1,25 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.ServiceProcess;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ZeroTierOneService
|
||||
{
|
||||
static class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
static void Main()
|
||||
{
|
||||
ServiceBase[] ServicesToRun;
|
||||
ServicesToRun = new ServiceBase[]
|
||||
{
|
||||
new Service()
|
||||
};
|
||||
ServiceBase.Run(ServicesToRun);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue