diff --git a/.vs/DNSPodForNET/v15/sqlite3/storage.ide b/.vs/DNSPodForNET/v15/sqlite3/storage.ide
deleted file mode 100644
index a9f77d80162aaa98aed530d8edb51d3828d11d4d..0000000000000000000000000000000000000000
Binary files a/.vs/DNSPodForNET/v15/sqlite3/storage.ide and /dev/null differ
diff --git a/.vs/config/applicationhost.config b/.vs/config/applicationhost.config
deleted file mode 100644
index 4d75f68876f88165ee29d194862866dd17b2cf23..0000000000000000000000000000000000000000
--- a/.vs/config/applicationhost.config
+++ /dev/null
@@ -1,1047 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/DDnsPod/App.config b/DDnsPod/App.config
new file mode 100644
index 0000000000000000000000000000000000000000..1c78fad3aa57056db1b5eda12915089fdedd669d
--- /dev/null
+++ b/DDnsPod/App.config
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/DDnsPod/DDnsPod\346\234\215\345\212\241.csproj" "b/DDnsPod/DDnsPod\346\234\215\345\212\241.csproj"
new file mode 100644
index 0000000000000000000000000000000000000000..55c20bf08c2b950476e1286fa22ea0ad5eea5723
--- /dev/null
+++ "b/DDnsPod/DDnsPod\346\234\215\345\212\241.csproj"
@@ -0,0 +1,130 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {1CB3B403-0539-4495-9223-39F23BB500D4}
+ WinExe
+ DDnsPod
+ DDnsPod
+ v4.5
+ 512
+ publish\
+ true
+ Disk
+ false
+ Foreground
+ 7
+ Days
+ false
+ false
+ true
+ 0
+ 1.0.0.%2a
+ false
+ false
+ true
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+ DDnsPod.Program
+
+
+ OnOutputUpdated
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Component
+
+
+ ProjectInstaller.cs
+
+
+ Component
+
+
+ Service1.cs
+
+
+
+
+
+
+ Designer
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+
+
+
+ Service1.cs
+
+
+
+
+ {8dccfcaa-6c92-4b20-8e23-21578608ce6b}
+ DNSPodForNET
+
+
+
+
+ False
+ .NET Framework 3.5 SP1
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/DDnsPod/HttpClient.cs b/DDnsPod/HttpClient.cs
new file mode 100644
index 0000000000000000000000000000000000000000..a2207bed7e5d7a90449eb234b6f1959523134c38
--- /dev/null
+++ b/DDnsPod/HttpClient.cs
@@ -0,0 +1,76 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Net.Security;
+using System.Security.Cryptography.X509Certificates;
+using System.Net;
+using System.IO;
+using System.IO.Compression;
+using System.Text.RegularExpressions;
+
+namespace HttpClient
+{
+ ///
+ /// 有关HTTP请求的辅助类
+ ///
+ public class HttpClient
+ {
+
+ ///
+ /// 通过GET方法获取Http内容
+ ///
+ /// URL地址
+ /// 编码格式
+ /// 返回的HTML内容
+ public static string GetHttpContent(string url, Encoding encoding) {
+ string html = "";
+ if (!String.IsNullOrWhiteSpace(url))
+ {
+ try
+ {
+ WebClient MyWebClient = new WebClient();
+ MyWebClient.Credentials = CredentialCache.DefaultCredentials;//获取或设置用于向Internet资源的请求进行身份验证的网络凭据
+ Byte[] pageData = MyWebClient.DownloadData(url); //从指定网站下载数据
+ html = encoding.GetString(pageData);
+ }
+ catch
+ {
+ }
+ }
+ return html;
+ }
+
+ ///
+ /// 通过Post方法获取Http内容
+ ///
+ /// URL地址
+ /// Post数据
+ /// 编码格式
+ /// 返回的HTML内容
+ public static string GetHttpContentByPost(string url, string postData, Encoding encoding)
+ {
+ string html = "";
+ if (!String.IsNullOrWhiteSpace(url))
+ {
+ try
+ {
+ byte[] byteArray = Encoding.UTF8.GetBytes(postData);
+ HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(new Uri(url));
+ webRequest.Method = "post";
+ webRequest.ContentType = "application/x-www-form-urlencoded";
+ webRequest.ContentLength = byteArray.Length;
+ System.IO.Stream newStream = webRequest.GetRequestStream();
+ newStream.Write(byteArray, 0, byteArray.Length);
+ newStream.Close();
+ HttpWebResponse response = (HttpWebResponse)webRequest.GetResponse();
+ html = new System.IO.StreamReader(response.GetResponseStream(), encoding).ReadToEnd();
+ }
+ catch
+ {
+ }
+ }
+ return html;
+ }
+ }
+}
\ No newline at end of file
diff --git a/DDnsPod/InstallService.bat b/DDnsPod/InstallService.bat
new file mode 100644
index 0000000000000000000000000000000000000000..89be0d05f72555b5fd548abda54067d7c3067808
--- /dev/null
+++ b/DDnsPod/InstallService.bat
@@ -0,0 +1,4 @@
+%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\installutil.exe "%~dp0\DDnsPod.exe"
+Net Start DDnsPod
+sc config DDnsPod start= auto
+pause
\ No newline at end of file
diff --git a/DDnsPod/Program.cs b/DDnsPod/Program.cs
new file mode 100644
index 0000000000000000000000000000000000000000..a5113f1b748e939e48cf8f31efa463c91be4962a
--- /dev/null
+++ b/DDnsPod/Program.cs
@@ -0,0 +1,25 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.ServiceProcess;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace DDnsPod
+{
+ static class Program
+ {
+ ///
+ /// 应用程序的主入口点。
+ ///
+ static void Main()
+ {
+ ServiceBase[] ServicesToRun;
+ ServicesToRun = new ServiceBase[]
+ {
+ new DDnsPod()
+ };
+ ServiceBase.Run(ServicesToRun);
+ }
+ }
+}
diff --git a/DDnsPod/ProjectInstaller.Designer.cs b/DDnsPod/ProjectInstaller.Designer.cs
new file mode 100644
index 0000000000000000000000000000000000000000..4deb7dd5fd013a53724bdbbb070cee7f3526a683
--- /dev/null
+++ b/DDnsPod/ProjectInstaller.Designer.cs
@@ -0,0 +1,60 @@
+namespace DDnsPod
+{
+ partial class ProjectInstaller
+ {
+ ///
+ /// 必需的设计器变量。
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// 清理所有正在使用的资源。
+ ///
+ /// 如果应释放托管资源,为 true;否则为 false。
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region 组件设计器生成的代码
+
+ ///
+ /// 设计器支持所需的方法 - 不要修改
+ /// 使用代码编辑器修改此方法的内容。
+ ///
+ private void InitializeComponent()
+ {
+ this.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
+ this.serviceInstaller1 = new System.ServiceProcess.ServiceInstaller();
+ //
+ // serviceProcessInstaller1
+ //
+ this.serviceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
+ this.serviceProcessInstaller1.Password = null;
+ this.serviceProcessInstaller1.Username = null;
+ //
+ // serviceInstaller1
+ //
+ this.serviceInstaller1.ServiceName = "DDnsPod";
+ this.serviceInstaller1.DisplayName = "DDnsPod";
+ this.serviceInstaller1.Description = "动态域名解析后台服务";
+ this.serviceInstaller1.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
+ //
+ // ProjectInstaller
+ //
+ this.Installers.AddRange(new System.Configuration.Install.Installer[] {
+ this.serviceProcessInstaller1,
+ this.serviceInstaller1});
+
+ }
+
+ #endregion
+
+ private System.ServiceProcess.ServiceProcessInstaller serviceProcessInstaller1;
+ private System.ServiceProcess.ServiceInstaller serviceInstaller1;
+ }
+}
\ No newline at end of file
diff --git a/DDnsPod/ProjectInstaller.cs b/DDnsPod/ProjectInstaller.cs
new file mode 100644
index 0000000000000000000000000000000000000000..a2616a864f5da0eb5a386ac9f0bf1a64a0c186cf
--- /dev/null
+++ b/DDnsPod/ProjectInstaller.cs
@@ -0,0 +1,19 @@
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Configuration.Install;
+using System.Linq;
+using System.Threading.Tasks;
+
+namespace DDnsPod
+{
+ [RunInstaller(true)]
+ public partial class ProjectInstaller : System.Configuration.Install.Installer
+ {
+ public ProjectInstaller()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/DDnsPod/ProjectInstaller.resx b/DDnsPod/ProjectInstaller.resx
new file mode 100644
index 0000000000000000000000000000000000000000..77b6f7b8203781bf2ede982d571b89339d8ad05a
--- /dev/null
+++ b/DDnsPod/ProjectInstaller.resx
@@ -0,0 +1,129 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 17, 55
+
+
+ 208, 17
+
+
+ False
+
+
\ No newline at end of file
diff --git a/DDnsPod/Properties/AssemblyInfo.cs b/DDnsPod/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000000000000000000000000000000000000..896fd774a9a7c899f153a5c8766e2688680ec433
--- /dev/null
+++ b/DDnsPod/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// 有关程序集的一般信息由以下
+// 控制。更改这些特性值可修改
+// 与程序集关联的信息。
+[assembly: AssemblyTitle("DDnsPod")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("DDnsPod")]
+[assembly: AssemblyCopyright("Copyright © 2018")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// 将 ComVisible 设置为 false 会使此程序集中的类型
+//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
+//请将此类型的 ComVisible 特性设置为 true。
+[assembly: ComVisible(false)]
+
+// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
+[assembly: Guid("1cb3b403-0539-4495-9223-39f23bb500d4")]
+
+// 程序集的版本信息由下列四个值组成:
+//
+// 主版本
+// 次版本
+// 生成号
+// 修订号
+//
+// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
+// 方法是按如下所示使用“*”: :
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/DDnsPod/Service1.Designer.cs b/DDnsPod/Service1.Designer.cs
new file mode 100644
index 0000000000000000000000000000000000000000..8e08d1481d9d14c0c0d1a2d7c935e1f3ad46f43d
--- /dev/null
+++ b/DDnsPod/Service1.Designer.cs
@@ -0,0 +1,44 @@
+namespace DDnsPod
+{
+ partial class DDnsPod
+ {
+ ///
+ /// 必需的设计器变量。
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// 清理所有正在使用的资源。
+ ///
+ /// 如果应释放托管资源,为 true;否则为 false。
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region 组件设计器生成的代码
+
+ ///
+ /// 设计器支持所需的方法 - 不要修改
+ /// 使用代码编辑器修改此方法的内容。
+ ///
+ private void InitializeComponent()
+ {
+ //
+ // DDnsPod
+ //
+ this.CanHandlePowerEvent = true;
+ this.CanHandleSessionChangeEvent = true;
+ this.CanPauseAndContinue = true;
+ this.CanShutdown = true;
+ this.ServiceName = "DDnsPod";
+
+ }
+
+ #endregion
+ }
+}
diff --git a/DDnsPod/Service1.cs b/DDnsPod/Service1.cs
new file mode 100644
index 0000000000000000000000000000000000000000..72cf0581f976587ecfc7f56425d5900661b625d5
--- /dev/null
+++ b/DDnsPod/Service1.cs
@@ -0,0 +1,146 @@
+using DNSPodForNET;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Configuration;
+using System.Data;
+using System.Diagnostics;
+using System.Linq;
+using System.Net.Http;
+using System.ServiceProcess;
+using System.Text;
+using System.Threading;
+using System.Threading.Tasks;
+
+namespace DDnsPod
+{
+ public partial class DDnsPod : ServiceBase
+ {
+ String ip = String.Empty;
+ String token = String.Empty;
+ String domain = String.Empty;
+ String record = String.Empty;
+ String logFilePath = String.Empty;
+ int recordId = 0;
+ static System.Timers.Timer timer1 = new System.Timers.Timer();
+ public DDnsPod()
+ {
+ InitializeComponent();
+ token = ConfigurationManager.AppSettings["token"];
+ domain = ConfigurationManager.AppSettings["domain"];
+ record = ConfigurationManager.AppSettings["record"];
+ logFilePath = ConfigurationManager.AppSettings["logFilePath"];
+ timer1.AutoReset = true;
+ timer1.Elapsed += Timer1_Tick;
+ }
+
+ protected override void OnStart(string[] args)
+ {
+ String DevelopMode = ConfigurationManager.AppSettings["DevelopMode"];//开发模式
+ //如果是开发模式,在服务启动时让服务延迟25秒启动,以方便附加进程调试程序
+ if (String.Equals(DevelopMode, "true", StringComparison.CurrentCultureIgnoreCase))
+ {
+ Thread.Sleep(25000);//调试服务时附加进程需要时间,为了防止服务进程还没有附加就已经退出了,所以先将服务延迟25秒
+ }
+ try
+ {
+ timer1.Interval = Int32.Parse(ConfigurationManager.AppSettings["Interval"]);
+ }
+ catch {
+ timer1.Interval = 10000;
+ }
+ finally
+ {
+ timer1.Enabled = true;
+ timer1.Start();
+ }
+ base.OnStart(args);
+ }
+
+ protected override void OnStop()
+ {
+ timer1.Stop();
+ base.OnStop();
+ }
+
+
+
+ protected override void OnPause()
+ {
+ timer1.Stop();
+ base.OnPause();
+ }
+
+ protected override void OnContinue()
+ {
+ timer1.Start();
+ base.OnContinue();
+ }
+
+ protected override void OnShutdown()
+ {
+ timer1.Stop();
+ base.OnShutdown();
+ }
+ void OutMessage(string msg)
+ {
+ using (System.IO.StreamWriter sw = new System.IO.StreamWriter(logFilePath, true))
+ {
+ sw.Write(msg);
+ }
+ }
+ private void Timer1_Tick(object sender, EventArgs e)
+ {
+ String newIp = GetLocalIp();
+ if (String.IsNullOrEmpty(ip) || (!String.IsNullOrWhiteSpace(newIp) && !String.Equals(ip,newIp, StringComparison.CurrentCultureIgnoreCase))) {
+ if (String.IsNullOrEmpty(ip))
+ {
+ OutMessage(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "服务开启,"+ record + "." + domain + "的IP指向设置为[" + newIp + "]\r\n");
+ }
+ else
+ {
+ OutMessage(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "IP地址由[" + ip + "]变更为[" + newIp + "]\r\n");
+ }
+ DnsPodRecord dpr = new DnsPodRecord(token);
+ if (recordId < 1) {
+ var recordList = dpr.List(new { sub_domain = record, domain = domain });
+ if (recordList.records != null && recordList.records.Count > 0)
+ {
+ recordId = recordList.records[0].id;
+ }
+ else
+ {
+ recordId = dpr.Create(domain, record, newIp);
+ }
+ }
+ if (recordId > 0)
+ {
+ dynamic result = dpr.DdnsNew(domain, recordId, newIp, record);
+ if (result.record.value!=null) {
+ ip = result.record.value;
+ }
+ }
+ }
+ }
+
+ ///
+ /// 获取外网IP地址
+ ///
+ ///
+ public static string GetLocalIp()
+ {
+ string result = String.Empty;
+ try
+ {
+ result = HttpClient.HttpClient.GetHttpContent("http://2019.ip138.com/ic.asp", Encoding.GetEncoding("gb2312"));
+ if (result.IndexOf("您的IP是:[") > 0) { result = result.Substring(result.IndexOf("您的IP是:[") + "您的IP是:[".Length); }
+ if (result.IndexOf("[") > 0) { result = result.Substring(result.IndexOf("[") + "[".Length); }
+ if (result.IndexOf("]") > 0) { result = result.Substring(0, result.IndexOf("]")); }
+ }
+ finally
+ {
+ }
+ return result.Trim();
+ }
+ }
+}
diff --git a/DDnsPod/Service1.resx b/DDnsPod/Service1.resx
new file mode 100644
index 0000000000000000000000000000000000000000..b56d272ce9ee9ef6d75d44bc6e809983bc5d92e5
--- /dev/null
+++ b/DDnsPod/Service1.resx
@@ -0,0 +1,126 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ True
+
+
+ False
+
+
\ No newline at end of file
diff --git a/DDnsPod/UninstallService.bat b/DDnsPod/UninstallService.bat
new file mode 100644
index 0000000000000000000000000000000000000000..c1be7111b88441c04f86603a74205730e0be9f86
--- /dev/null
+++ b/DDnsPod/UninstallService.bat
@@ -0,0 +1,3 @@
+Net Stop DDnsPod
+%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\installutil.exe /u DDnsPod.exe
+sc delete DDnsPod
\ No newline at end of file
diff --git a/DNSPodForNET.DDNS.Web/DNSPodForNET.DDNS.Web.csproj b/DNSPodForNET.DDNS.Web/DNSPodForNET.DDNS.Web.csproj
index 1d080f9e9041082711050a1384f30cf18ecece80..9c65ba25b7e94f1e750baad5ac3713cb7ef3b65d 100644
--- a/DNSPodForNET.DDNS.Web/DNSPodForNET.DDNS.Web.csproj
+++ b/DNSPodForNET.DDNS.Web/DNSPodForNET.DDNS.Web.csproj
@@ -22,6 +22,7 @@
+
true
@@ -90,9 +91,6 @@
-
- Designer
-
diff --git a/DNSPodForNET.DDNS.Web/packages.config b/DNSPodForNET.DDNS.Web/packages.config
deleted file mode 100644
index 99a52a2c43967fcfa533efe8751df5b0f190cd8b..0000000000000000000000000000000000000000
--- a/DNSPodForNET.DDNS.Web/packages.config
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/DNSPodForNET.sln b/DNSPodForNET.sln
index 516ce5d42c029bb7d5a87b29f5f00304b053ea96..e580a827bbe3369544d9f8d6950d7e2d6aa6a468 100644
--- a/DNSPodForNET.sln
+++ b/DNSPodForNET.sln
@@ -7,13 +7,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DNSPodForNET", "DNSPodForNE
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DNSPodUnitTest", "DNSPodUnitTest\DNSPodUnitTest.csproj", "{0B9FCA25-C2D7-4712-B3A6-A26AFDB3F9A4}"
EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{E3E15CDA-A557-4758-9C14-F0B1CAA5C0BE}"
- ProjectSection(SolutionItems) = preProject
- .nuget\NuGet.Config = .nuget\NuGet.Config
- .nuget\NuGet.exe = .nuget\NuGet.exe
- .nuget\NuGet.targets = .nuget\NuGet.targets
- EndProjectSection
-EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{6D6356AC-147F-476B-8A62-08842BCAD8A1}"
ProjectSection(SolutionItems) = preProject
README.md = README.md
@@ -21,6 +14,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DNSPodForNET.DDNS.Web", "DNSPodForNET.DDNS.Web\DNSPodForNET.DDNS.Web.csproj", "{081BB1E0-BCD3-4DD7-8612-944E17D202DB}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DDnsPod服务", "DDnsPod\DDnsPod服务.csproj", "{1CB3B403-0539-4495-9223-39F23BB500D4}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -39,8 +34,15 @@ Global
{081BB1E0-BCD3-4DD7-8612-944E17D202DB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{081BB1E0-BCD3-4DD7-8612-944E17D202DB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{081BB1E0-BCD3-4DD7-8612-944E17D202DB}.Release|Any CPU.Build.0 = Release|Any CPU
+ {1CB3B403-0539-4495-9223-39F23BB500D4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {1CB3B403-0539-4495-9223-39F23BB500D4}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {1CB3B403-0539-4495-9223-39F23BB500D4}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {1CB3B403-0539-4495-9223-39F23BB500D4}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {F770C3FA-1296-42F6-A1D1-EFFE6284AAA4}
+ EndGlobalSection
EndGlobal
diff --git a/DNSPodForNET/DNSPodForNET.csproj b/DNSPodForNET/DNSPodForNET.csproj
index 3236a01ec5ae66ff52624089f8763444605af14c..fb149022e5662bcea881b037fa7c503d6186e06e 100644
--- a/DNSPodForNET/DNSPodForNET.csproj
+++ b/DNSPodForNET/DNSPodForNET.csproj
@@ -60,9 +60,6 @@
-
-
-
@@ -71,6 +68,10 @@
+
+
+
+