30 lines
923 B
C#
30 lines
923 B
C#
using ICSharpCode.SharpZipLib.Zip;
|
|
using Newtonsoft.Json.Linq;
|
|
using SocketTransfer.SDK;
|
|
using System;
|
|
using System.Configuration;
|
|
using System.Data;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.ServiceProcess;
|
|
using System.Text;
|
|
|
|
namespace Unzip
|
|
{
|
|
class Program
|
|
{
|
|
protected static string _OracleConnStr = ConfigurationManager.AppSettings["OracleConnStr"].ToString();
|
|
protected static string Master_Table = ConfigurationManager.AppSettings["Master_Table"].ToString();
|
|
protected static string Details_Table = ConfigurationManager.AppSettings["Details_Table"].ToString();
|
|
protected static string ZipUrl = ConfigurationManager.AppSettings["ZipUrl"].ToString();
|
|
|
|
static void Main(string[] args)
|
|
{
|
|
ServiceBase[] ServiceToRun;
|
|
ServiceToRun = new ServiceBase[] { new Service1() };
|
|
ServiceBase.Run(ServiceToRun);
|
|
}
|
|
|
|
}
|
|
}
|