大家好哈,这是我第一次写博客,我也是才大一结束,自学了10多天C#,有不对的欢迎大家指正,最近因为项目的事而被Wifi和IP折磨了很久,后来借用了一下外国人的SimpleWifi.dll 再自己写了一个ZhuWifi.dll
能够直接通过Wifi名和密码来连接Wifi 在该类当中我还写了一个指定IP的函数。看看下面是怎么用的。
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; //需要的引用: using System.Diagnostics;