开发者

connect to secured wireless connection using c#

开发者 https://www.devze.com 2023-01-31 06:01 出处:网络
I am using wlanApi class to connect开发者_Python百科 to wireless connection after I scanned and found networks in my area I want to connect to them but always I get exception \"profile xaml is not cor

I am using wlanApi class to connect开发者_Python百科 to wireless connection after I scanned and found networks in my area I want to connect to them but always I get exception "profile xaml is not correct" so I try to get all connection type to xaml I found them but the problem is in password key it can't understand it and I shold but it encrypted in the profile xaml so I want WEP encrpytion code can generate the keymaterial in profile xaml from the original key how?


"You can call WlanSetProfile on a profile that contains a plaintext key (that is, a profile with the protected element present and set to FALSE). Before the profile is saved in the profile store, the key material is automatically encrypted. When the profile is subsequently retrieved from the profile store by calling WlanGetProfile, the encrypted key material is returned."

From this msdn api link, from a Google search 'cause it piqued my interest.

0

精彩评论

暂无评论...
验证码 换一张
取 消