DigiExam / simplewifi

.NET 4.5 library to manage wifi connections in Windows - written in C#
GNU Lesser General Public License v3.0
131 stars 82 forks source link

在win10 中不支持中文wifi名 #40

Open fox1989 opened 5 years ago

fox1989 commented 5 years ago

把wifi名的编码改为Default是可以连接,但是会是乱码

string SSID=Encoding.Default.GetString(network.dot11Ssid.SSID, 0, (int)network.dot11Ssid.SSIDLength);

LKMMKL commented 4 years ago

I also meet this problem. Have you found the solution?

fanyang89 commented 4 years ago

@fox1989 @LKMMKL Check this: #26

TheObliterator commented 4 years ago

@fanyang89 I built upon your #26 fix.... I found I needed to pass the hex key into the creation profile to join new wifi networks with unicode chars in their name. Without this new connections would fail (despite encoding the SSID properly). See PR #45