大家好哈,这是我第一次写博客,我也是才大一结束,自学了10多天C#,有不对的欢迎大家指正,最近因为项目的事而被Wifi和IP折磨了很久,后来借用了一下外国人的SimpleWifi.dll 再自己写了一个ZhuWifi.dll能够直接通过Wifi名和密码来连接Wifi 在该类当中我还写了一个指定IP的函数.看看下面是怎么用的. using System; using System.Collections.Generic; using System.Linq; using System.Text;
首先将两台鸿蒙设备插入电脑的usb上 查看两台鸿蒙设备的deviceid C:\Users\Administrator>adb devices * daemon not running; starting now at tcp:5037 * daemon started successfully List of devices attached FRU6R2011500QWER unauthorized MVT5T1970300ABCD unauthorized 切换成wifi调试,将以下命令依