mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-12-27 10:39:53 +03:00
38 lines
593 B
C#
38 lines
593 B
C#
|
using System;
|
|||
|
using System.IO;
|
|||
|
using System.Diagnostics;
|
|||
|
using Newtonsoft.Json;
|
|||
|
using SoftEther.VPNServerRpc;
|
|||
|
using System.Text;
|
|||
|
using SoftEther.JsonRpc;
|
|||
|
|
|||
|
|
|||
|
namespace VPNServer_JSONRPC_CodeGen
|
|||
|
{
|
|||
|
class Program
|
|||
|
{
|
|||
|
static void Main(string[] args)
|
|||
|
{
|
|||
|
string output_dir = CodeGenUtil.OutputDir_Clients;
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
Directory.CreateDirectory(output_dir);
|
|||
|
}
|
|||
|
catch
|
|||
|
{
|
|||
|
}
|
|||
|
|
|||
|
CodeGen g = new CodeGen();
|
|||
|
|
|||
|
g.GenerateAndSaveCodes(output_dir);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|