문제

I am using wlanApi class to connect 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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top