NetTunnelWindows/NetTunnelApp/MainForm.cs

27 lines
668 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace NetTunnelApp
{
public partial class MainForm : Form
{
public MainForm()
{
InitializeComponent();
NetTunnelLib.TunnelSDKInitEnv();
string path = System.Environment.CurrentDirectory + "\\tunnelsdk_" +
string.Format("{0:yyyyMMdd_HHmm}", System.DateTime.Now) + ".log";
NetTunnelLib.InitTunnelSDKLog(path, LogLevel.LOG_DEBUG);
}
}
}