diff --git a/AdbTools.sln b/AdbTools.sln
new file mode 100644
index 0000000..319e4f7
--- /dev/null
+++ b/AdbTools.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.34407.143
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AdbTools", "AdbTools\AdbTools.csproj", "{D80557CC-6756-4A53-BE06-2A0B21224607}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {D80557CC-6756-4A53-BE06-2A0B21224607}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {D80557CC-6756-4A53-BE06-2A0B21224607}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {D80557CC-6756-4A53-BE06-2A0B21224607}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {D80557CC-6756-4A53-BE06-2A0B21224607}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {3CCE653D-C7AC-497B-8A49-23884780D1EB}
+ EndGlobalSection
+EndGlobal
diff --git a/AdbTools/AdbTools.csproj b/AdbTools/AdbTools.csproj
new file mode 100644
index 0000000..5404cc3
--- /dev/null
+++ b/AdbTools/AdbTools.csproj
@@ -0,0 +1,122 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {D80557CC-6756-4A53-BE06-2A0B21224607}
+ WinExe
+ AdbTools
+ AdbTools
+ v4.0
+ 512
+ {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ 4
+ true
+
+
+ x64
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ x64
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+ app.manifest
+
+
+ AdbTools.App
+
+
+ ico.ico
+
+
+
+
+
+
+
+
+
+
+
+ 4.0
+
+
+
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+ MSBuild:Compile
+ Designer
+
+
+ App.xaml
+ Code
+
+
+
+
+ MainWindow.xaml
+ Code
+
+
+
+
+ Code
+
+
+ True
+ True
+ Resources.resx
+
+
+ True
+ Settings.settings
+ True
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+
+
+
\ No newline at end of file
diff --git a/AdbTools/AdbWinApi.dll b/AdbTools/AdbWinApi.dll
new file mode 100644
index 0000000..c8614a9
Binary files /dev/null and b/AdbTools/AdbWinApi.dll differ
diff --git a/AdbTools/AdbWinUsbApi.dll b/AdbTools/AdbWinUsbApi.dll
new file mode 100644
index 0000000..1e5a8d4
Binary files /dev/null and b/AdbTools/AdbWinUsbApi.dll differ
diff --git a/AdbTools/App.config b/AdbTools/App.config
new file mode 100644
index 0000000..49cc43e
--- /dev/null
+++ b/AdbTools/App.config
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/AdbTools/App.xaml b/AdbTools/App.xaml
new file mode 100644
index 0000000..cbaddb1
--- /dev/null
+++ b/AdbTools/App.xaml
@@ -0,0 +1,9 @@
+
+
+
+
+
diff --git a/AdbTools/App.xaml.cs b/AdbTools/App.xaml.cs
new file mode 100644
index 0000000..440f061
--- /dev/null
+++ b/AdbTools/App.xaml.cs
@@ -0,0 +1,16 @@
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Windows;
+
+namespace AdbTools
+{
+ ///
+ /// App.xaml 的交互逻辑
+ ///
+ public partial class App : Application
+ {
+ }
+}
diff --git a/AdbTools/CmdExecutor.cs b/AdbTools/CmdExecutor.cs
new file mode 100644
index 0000000..d61ec37
--- /dev/null
+++ b/AdbTools/CmdExecutor.cs
@@ -0,0 +1,67 @@
+using System;
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Linq;
+using System.Text;
+
+namespace AdbTools
+{
+ public class CmdExecutor
+ {
+ public static string ExecuteCommandAndReturn(string command)
+ {
+ using (Process process = new Process())
+ {
+ process.StartInfo.FileName = "cmd.exe";
+ process.StartInfo.RedirectStandardInput = true;
+ process.StartInfo.RedirectStandardOutput = true;
+ process.StartInfo.UseShellExecute = false;
+ process.StartInfo.CreateNoWindow = true;
+
+ process.Start();
+
+ process.StandardInput.WriteLine(command);
+ process.StandardInput.WriteLine("exit");
+
+ process.WaitForExit(2000);
+
+ return process.StandardOutput.ReadToEnd();
+
+ }
+ }
+
+ public static void ExecuteCommandByShell(string command)
+ {
+ using (Process process = new Process())
+ {
+ process.StartInfo.FileName = "cmd.exe";
+ process.StartInfo.UseShellExecute = true;
+ process.StartInfo.CreateNoWindow = false;
+ process.StartInfo.Arguments = $"/c {command}";
+ process.Start();
+ process.WaitForExit();
+
+ //process.StandardInput.WriteLine(command);
+ }
+ }
+
+ public static void ExecuteCommandAndQuit(string command)
+ {
+ using (Process process = new Process())
+ {
+ process.StartInfo.FileName = "cmd.exe";
+ process.StartInfo.RedirectStandardInput = true;
+ process.StartInfo.RedirectStandardOutput = true;
+ process.StartInfo.UseShellExecute = false;
+ process.StartInfo.CreateNoWindow = true;
+
+ process.Start();
+
+ process.StandardInput.WriteLine(command);
+ process.StandardInput.WriteLine("exit");
+
+ process.WaitForExit(2000);
+ }
+ }
+ }
+}
diff --git a/AdbTools/Globals.cs b/AdbTools/Globals.cs
new file mode 100644
index 0000000..24107a8
--- /dev/null
+++ b/AdbTools/Globals.cs
@@ -0,0 +1,137 @@
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.IO;
+using System.Text;
+using System.Text.RegularExpressions;
+using System.Windows;
+using System.Windows.Media;
+
+namespace AdbTools
+{
+ public class Globals
+ {
+
+
+ ///
+ /// Config配置文件读取
+ ///
+ public class AppSettings
+ {
+ private static string _LAST_DEVICE_ADDRESS = null;
+ private static List _DEVICE_ADDRESS_HISTORY = null;
+ ///
+ ///
+ ///
+ public static string LAST_DEVICE_ADDRESS
+ {
+ get
+ {
+ if (null == _LAST_DEVICE_ADDRESS)
+ {
+ _LAST_DEVICE_ADDRESS = GetKeyVlaue("LAST_DEVICE_ADDRESS");
+ }
+ if (null == _LAST_DEVICE_ADDRESS)
+ {
+ _LAST_DEVICE_ADDRESS = "";
+ }
+ return _LAST_DEVICE_ADDRESS;
+ }
+ set
+ {
+ UpdateAppConfig("LAST_DEVICE_ADDRESS", value);
+ _LAST_DEVICE_ADDRESS = value;
+ }
+ }
+
+ ///
+ ///
+ ///
+ public static List DEVICE_ADDRESS_HISTORY
+ {
+ get
+ {
+ if (null == _DEVICE_ADDRESS_HISTORY)
+ {
+ string v = GetKeyVlaue("DEVICE_ADDRESS_HISTORY");
+ if (!string.IsNullOrWhiteSpace(v))
+ {
+ _DEVICE_ADDRESS_HISTORY = new List(v.Split(','));
+
+ }
+ }
+ if (null == _DEVICE_ADDRESS_HISTORY)
+ {
+ _DEVICE_ADDRESS_HISTORY = new List();
+ }
+ return _DEVICE_ADDRESS_HISTORY;
+ }
+ set
+ {
+ UpdateAppConfig("DEVICE_ADDRESS_HISTORY", string.Join(",", value));
+ _DEVICE_ADDRESS_HISTORY = value;
+ }
+ }
+
+ ///
+ /// 获取配置的值
+ ///
+ /// key
+ /// 读取错误时为null
+ public static string GetKeyVlaue(string key)
+ {
+ try
+ {
+ return ConfigurationManager.AppSettings[key];
+ }
+ catch (Exception e)
+ {
+ return null;
+ }
+ }
+
+ ///
+ ///在*.exe.config文件中appSettings配置节增加一对键、值对
+ ///
+ ///
+ ///
+ public static void UpdateAppConfig(string newKey, string newValue)
+ {
+ try
+ {
+ bool isModified = false;
+ foreach (string key in ConfigurationManager.AppSettings)
+ {
+ if (key == newKey)
+ {
+ isModified = true;
+ }
+ }
+
+ // Open App.Config of executable
+ Configuration config =
+ ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
+ // You need to remove the old settings object before you can replace it
+ if (isModified)
+ {
+ config.AppSettings.Settings.Remove(newKey);
+ }
+ // Add an Application Setting.
+ config.AppSettings.Settings.Add(newKey, newValue);
+ // Save the changes in App.config file.
+ config.Save(ConfigurationSaveMode.Modified);
+ // Force a reload of a changed section.
+ ConfigurationManager.RefreshSection("appSettings");
+ }
+ catch (Exception e)
+ {
+ }
+ }
+
+ }
+
+
+
+
+ }
+}
diff --git a/AdbTools/MainWindow.xaml b/AdbTools/MainWindow.xaml
new file mode 100644
index 0000000..2db950e
--- /dev/null
+++ b/AdbTools/MainWindow.xaml
@@ -0,0 +1,43 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/AdbTools/MainWindow.xaml.cs b/AdbTools/MainWindow.xaml.cs
new file mode 100644
index 0000000..ee6a2fa
--- /dev/null
+++ b/AdbTools/MainWindow.xaml.cs
@@ -0,0 +1,246 @@
+using Microsoft.Win32;
+using System;
+using System.Collections.Generic;
+using System.Collections.ObjectModel;
+using System.IO;
+using System.Linq;
+using System.Net;
+using System.Text;
+using System.Text.RegularExpressions;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Threading;
+
+namespace AdbTools
+{
+ ///
+ /// MainWindow.xaml 的交互逻辑
+ ///
+ public partial class MainWindow : Window
+ {
+ private string adbPath = "";
+ private DispatcherTimer timer;
+ private ObservableCollection deviceAddressHistory;
+
+ public MainWindow()
+ {
+ InitializeComponent();
+
+ deviceAddressHistory = new ObservableCollection();
+ }
+
+ private void refreshDeviceAddressHistory()
+ {
+ deviceAddressHistory.Clear();
+ Globals.AppSettings.DEVICE_ADDRESS_HISTORY.ForEach(s =>
+ {
+ deviceAddressHistory.Add(s);
+ });
+
+ }
+
+ private void Window_Loaded(object sender, RoutedEventArgs e)
+ {
+ string path = AppDomain.CurrentDomain.BaseDirectory + "adb.exe";
+ string adbDll1 = AppDomain.CurrentDomain.BaseDirectory + "AdbWinApi.dll";
+ string adbDll2 = AppDomain.CurrentDomain.BaseDirectory + "AdbWinUsbApi.dll";
+
+ if (!File.Exists(path) || !File.Exists(adbDll1) || !File.Exists(adbDll2))
+ {
+ MessageBox.Show("adb工具集丢失,无法运行!", "提示", MessageBoxButton.OK, MessageBoxImage.Error);
+ Environment.Exit(0);
+ return;
+ }
+ adbPath = $"\"{path}\"";
+
+ deviceAddress.Text = Globals.AppSettings.LAST_DEVICE_ADDRESS;
+ deviceAddress.ItemsSource = deviceAddressHistory;
+ refreshDeviceAddressHistory();
+
+ timer = new DispatcherTimer();
+ timer.Interval = TimeSpan.FromSeconds(10); // 设置计时器的时间间隔为1秒
+ timer.Tick += Timer_Tick; // 订阅Tick事件
+ timer.Start(); // 启动计时器
+
+ Timer_Tick(null, null);
+ }
+
+ private void Timer_Tick(object sender, EventArgs e)
+ {
+ deviceList.Items.Clear();
+ string content = CmdExecutor.ExecuteCommandAndReturn($"{adbPath} devices");
+ // 定义正则表达式模式
+ string pattern = @"\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}:\d+\b";
+ // 创建 Regex 对象
+ Regex regex = new Regex(pattern);
+ // 查找所有匹配项
+ MatchCollection matches = regex.Matches(content);
+ // 输出所有匹配项
+ foreach (Match match in matches)
+ {
+ deviceList.Items.Add(match.Value.Trim());
+ }
+ }
+
+ private void Window_Unloaded(object sender, RoutedEventArgs e)
+ {
+ timer.Stop();
+ }
+
+ private void connectDevice_Click(object sender, RoutedEventArgs e)
+ {
+ string address = deviceAddress.Text;
+ if (!IsValidIPEndPoint(address))
+ {
+ MessageBox.Show("设备连接地址输入错误!", "提示", MessageBoxButton.OK, MessageBoxImage.Warning);
+ return;
+ }
+
+ CmdExecutor.ExecuteCommandAndQuit($"{adbPath} connect {address}");
+ Globals.AppSettings.LAST_DEVICE_ADDRESS = $"{address}";
+ if (!Globals.AppSettings.DEVICE_ADDRESS_HISTORY.Contains(address))
+ {
+ Globals.AppSettings.DEVICE_ADDRESS_HISTORY.Insert(0, address);
+ Globals.AppSettings.DEVICE_ADDRESS_HISTORY = Globals.AppSettings.DEVICE_ADDRESS_HISTORY;
+ refreshDeviceAddressHistory();
+ }
+ Timer_Tick(null, null);
+ }
+
+ private void pairDevice_Click(object sender, RoutedEventArgs e)
+ {
+ string address = deviceAddress.Text;
+ if (!IsValidIPEndPoint(address))
+ {
+ MessageBox.Show("设备配对地址输入错误!", "提示", MessageBoxButton.OK, MessageBoxImage.Warning);
+ return;
+ }
+ CmdExecutor.ExecuteCommandByShell($"{adbPath} pair {address}");
+ }
+
+ private string SelectApkFile()
+ {
+ OpenFileDialog openFileDialog = new OpenFileDialog();
+ openFileDialog.Filter = "APK Files (*.apk)|*.apk";
+ openFileDialog.FilterIndex = 1;
+ openFileDialog.RestoreDirectory = true;
+
+ if (openFileDialog.ShowDialog() == true)
+ {
+ // 获取选中的文件路径
+ return openFileDialog.FileName;
+ }
+ return null;
+ }
+
+ private void installApkItem_Click(object sender, RoutedEventArgs e)
+ {
+ var menuItem = (MenuItem)sender;
+ var contextMenu = (ContextMenu)menuItem.Parent;
+ var textBlock = (TextBlock)contextMenu.PlacementTarget;
+ if (MessageBoxResult.OK != MessageBox.Show($"确定要安装应用到【{textBlock.Text}】吗?", "提示", MessageBoxButton.OKCancel, MessageBoxImage.Question))
+ {
+ return;
+ }
+ string path = SelectApkFile();
+ if (string.IsNullOrWhiteSpace(path))
+ {
+ return;
+ }
+ CmdExecutor.ExecuteCommandByShell($"{adbPath} -s {textBlock.Text} install \"{path}\"");
+ }
+
+ private void disconnectDeviceItem_Click(object sender, RoutedEventArgs e)
+ {
+ var menuItem = (MenuItem)sender;
+ var contextMenu = (ContextMenu)menuItem.Parent;
+ var textBlock = (TextBlock)contextMenu.PlacementTarget;
+ if (MessageBoxResult.OK != MessageBox.Show($"确定要断开设备【{textBlock.Text}】的连接吗?", "提示", MessageBoxButton.OKCancel, MessageBoxImage.Question))
+ {
+ return;
+ }
+ CmdExecutor.ExecuteCommandAndQuit($"{adbPath} disconnect {textBlock.Text}");
+ Timer_Tick(null, null);
+ }
+
+ private void disconnectAllDeviceItem_Click(object sender, RoutedEventArgs e)
+ {
+ if (MessageBoxResult.OK == MessageBox.Show("请确定要断开所有设备吗?", "提示", MessageBoxButton.OKCancel, MessageBoxImage.Question))
+ {
+ CmdExecutor.ExecuteCommandAndQuit($"{adbPath} disconnect");
+ Timer_Tick(null, null);
+ }
+ }
+
+ public static bool IsValidIPEndPoint(string ipPort)
+ {
+ string[] parts = ipPort.Split(':');
+ if (parts.Length > 2)
+ {
+ return false;
+ }
+ if (parts.Length == 1)
+ {
+ if (!IPAddress.TryParse(ipPort, out _))
+ {
+ return false;
+ }
+ return true;
+ }
+
+ string ipAddress = parts[0];
+ string port = parts[1];
+
+ // 验证IP地址
+ if (!IPAddress.TryParse(ipAddress, out _))
+ {
+ return false;
+ }
+
+ // 验证端口号
+ if (!int.TryParse(port, out int portNumber))
+ {
+ return false;
+ }
+
+ if (portNumber <= 0 || portNumber > 65535)
+ {
+ return false;
+ }
+
+ return true;
+ }
+
+ //private void deleteHistory_Click(object sender, RoutedEventArgs e)
+ //{
+ // MenuItem menuItem = (MenuItem)sender;
+ // ComboBoxItem comboBoxItem = (ComboBoxItem)menuItem.DataContext;
+ // string selectedValue = comboBoxItem.Content.ToString();
+ // if (MessageBoxResult.OK != MessageBox.Show($"确定要删除历史记录【{selectedValue}】吗?", "提示", MessageBoxButton.OKCancel, MessageBoxImage.Question))
+ // {
+ // return;
+ // }
+ // Globals.AppSettings.DEVICE_ADDRESS_HISTORY.Remove(selectedValue);
+ // Globals.AppSettings.DEVICE_ADDRESS_HISTORY = Globals.AppSettings.DEVICE_ADDRESS_HISTORY;
+ // refreshDeviceAddressHistory();
+ //}
+
+ private void deleteAllHistory_Click(object sender, RoutedEventArgs e)
+ {
+ if (MessageBoxResult.OK == MessageBox.Show("请确定要清空所有历史纪录吗?", "提示", MessageBoxButton.OKCancel, MessageBoxImage.Question))
+ {
+ Globals.AppSettings.DEVICE_ADDRESS_HISTORY.Clear();
+ Globals.AppSettings.DEVICE_ADDRESS_HISTORY = Globals.AppSettings.DEVICE_ADDRESS_HISTORY;
+ refreshDeviceAddressHistory();
+ }
+ }
+
+ }
+}
diff --git a/AdbTools/Properties/AssemblyInfo.cs b/AdbTools/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..d3d48fe
--- /dev/null
+++ b/AdbTools/Properties/AssemblyInfo.cs
@@ -0,0 +1,55 @@
+using System.Reflection;
+using System.Resources;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Windows;
+
+// 有关程序集的一般信息由以下
+// 控制。更改这些特性值可修改
+// 与程序集关联的信息。
+[assembly: AssemblyTitle("AdbTools")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("AdbTools")]
+[assembly: AssemblyCopyright("Copyright © 2025")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// 将 ComVisible 设置为 false 会使此程序集中的类型
+//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
+//请将此类型的 ComVisible 特性设置为 true。
+[assembly: ComVisible(false)]
+
+//若要开始生成可本地化的应用程序,请设置
+//.csproj 文件中的 CultureYouAreCodingWith
+//例如,如果您在源文件中使用的是美国英语,
+//使用的是美国英语,请将 设置为 en-US。 然后取消
+//对以下 NeutralResourceLanguage 特性的注释。 更新
+//以下行中的“en-US”以匹配项目文件中的 UICulture 设置。
+
+//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
+
+
+[assembly: ThemeInfo(
+ ResourceDictionaryLocation.None, //主题特定资源词典所处位置
+ //(未在页面中找到资源时使用,
+ //或应用程序资源字典中找到时使用)
+ ResourceDictionaryLocation.SourceAssembly //常规资源词典所处位置
+ //(未在页面中找到资源时使用,
+ //、应用程序或任何主题专用资源字典中找到时使用)
+)]
+
+
+// 程序集的版本信息由下列四个值组成:
+//
+// 主版本
+// 次版本
+// 生成号
+// 修订号
+//
+//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
+//通过使用 "*",如下所示:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/AdbTools/Properties/Resources.Designer.cs b/AdbTools/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..1207bce
--- /dev/null
+++ b/AdbTools/Properties/Resources.Designer.cs
@@ -0,0 +1,70 @@
+//------------------------------------------------------------------------------
+//
+// 此代码由工具生成。
+// 运行时版本: 4.0.30319.42000
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+//
+//------------------------------------------------------------------------------
+
+
+namespace AdbTools.Properties
+{
+ ///
+ /// 强类型资源类,用于查找本地化字符串等。
+ ///
+ // 此类是由 StronglyTypedResourceBuilder
+ // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
+ // 若要添加或删除成员,请编辑 .ResX 文件,然后重新运行 ResGen
+ // (以 /str 作为命令选项),或重新生成 VS 项目。
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources
+ {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources()
+ {
+ }
+
+ ///
+ /// 返回此类使用的缓存 ResourceManager 实例。
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager
+ {
+ get
+ {
+ if ((resourceMan == null))
+ {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("AdbTools.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// 重写当前线程的 CurrentUICulture 属性,对
+ /// 使用此强类型资源类的所有资源查找执行重写。
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture
+ {
+ get
+ {
+ return resourceCulture;
+ }
+ set
+ {
+ resourceCulture = value;
+ }
+ }
+ }
+}
diff --git a/AdbTools/Properties/Resources.resx b/AdbTools/Properties/Resources.resx
new file mode 100644
index 0000000..af7dbeb
--- /dev/null
+++ b/AdbTools/Properties/Resources.resx
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/AdbTools/Properties/Settings.Designer.cs b/AdbTools/Properties/Settings.Designer.cs
new file mode 100644
index 0000000..119811c
--- /dev/null
+++ b/AdbTools/Properties/Settings.Designer.cs
@@ -0,0 +1,29 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+
+namespace AdbTools.Properties
+{
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+ {
+
+ private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+ public static Settings Default
+ {
+ get
+ {
+ return defaultInstance;
+ }
+ }
+ }
+}
diff --git a/AdbTools/Properties/Settings.settings b/AdbTools/Properties/Settings.settings
new file mode 100644
index 0000000..033d7a5
--- /dev/null
+++ b/AdbTools/Properties/Settings.settings
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/AdbTools/adb.exe b/AdbTools/adb.exe
new file mode 100644
index 0000000..2cc6890
Binary files /dev/null and b/AdbTools/adb.exe differ
diff --git a/AdbTools/app.manifest b/AdbTools/app.manifest
new file mode 100644
index 0000000..eee9064
--- /dev/null
+++ b/AdbTools/app.manifest
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/AdbTools/dotNetFx40 在线安装包.exe b/AdbTools/dotNetFx40 在线安装包.exe
new file mode 100644
index 0000000..384fb83
Binary files /dev/null and b/AdbTools/dotNetFx40 在线安装包.exe differ
diff --git a/AdbTools/ico.ico b/AdbTools/ico.ico
new file mode 100644
index 0000000..ab88cac
Binary files /dev/null and b/AdbTools/ico.ico differ