微信多开工具 可以同时在电脑上打开多个微信 免费开源
生活随笔
收集整理的這篇文章主要介紹了
微信多开工具 可以同时在电脑上打开多个微信 免费开源
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
本程序用C#代碼編寫,運行環境FrameWork5.0以上。
主要代碼:
using Microsoft.Win32; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.IO;namespace StartWeChat {public partial class main : Form{public main(){InitializeComponent();}//D:\Program Files(x86)\Tencent\WeChat\WeChat.exeprivate void main_Load(object sender, EventArgs e){try{string softName = "WeChat.exe";string strKeyName = "InstallPath";string softPath = @"Software\Tencent\WeChat\";RegistryKey regKey = Registry.CurrentUser;RegistryKey regSubKey = regKey.OpenSubKey(softPath, false);object objResult = regSubKey.GetValue(strKeyName);RegistryValueKind regValueKind = regSubKey.GetValueKind(strKeyName);if (regValueKind == Microsoft.Win32.RegistryValueKind.String){tbPath.Text = Path.Combine(objResult.ToString(), softName);}}catch{tbPath.Text = "獲取失敗,請手動輸入";}}public static void CloseApp(string softName){Process[] pProcess;pProcess = Process.GetProcesses();for (int i = 1; i <= pProcess.Length - 1; i++){if (pProcess[i].ProcessName == softName){pProcess[i].Kill();break;}}}private void BtnStart_Click(object sender, EventArgs e){if (nud.Value > 0){CloseApp("WeChat");for (int i = 0; i < nud.Value; i++){Process.Start(tbPath.Text);}}}} }下載地址:微信多開工具可以同時在電腦上打開多個微信-電子商務文檔類資源-CSDN下載微信多開工具可以同時在電腦上打開多個微信,#使用說明無需安裝,直接運行StartWeChat更多下載資源、學習資料請訪問CSDN下載頻道.https://download.csdn.net/download/admans/76694806
源碼地址:GitHub - JackieZheng/StartWeChat: startWeChat multiplestartWeChat multiple. Contribute to JackieZheng/StartWeChat development by creating an account on GitHub.https://github.com/JackieZheng/StartWeChat網盤下載https://www.aliyundrive.com/s/1QomNNuJJE3
總結
以上是生活随笔為你收集整理的微信多开工具 可以同时在电脑上打开多个微信 免费开源的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: mock.js使用
- 下一篇: 在anaconda中安装tensorfl