connect to AP without wep...and with wep.....

Last post 03-17-2008 5:12 by checco85. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 03-17-2008 5:12

    connect to AP without wep...and with wep.....

    hi i have done my problem with deployng my application on pda with visual studio 2005...now i have 2 question:

    1- for connect with an access point with no wep...open... can you say me if i done correctly:

    m_adapters[0].SetWirelessSettingsAddEx(apselect, true, null, 1, AuthenticationMode.Ndis802_11AuthModeOpen, WEPStatus.Ndis802_11EncryptionDisabled);

    m_adapters[0].BindAdapter();

    if there are any error please say me how i set the parameters of the function...and primary if is possible connect with an AP without WEP....

    2- for connect with AP with WEP:

    m_adapters[0].SetWirelessSettingsAddEx(apselect, true, WEPstring, 1, AuthenticationMode.Ndis802_11AuthModeAutoSwitch, WEPStatus.Ndis802_11Encryption1Enabled);

    if there any error please correct me...thanks for any support.... 

     

    Filed under:
Page 1 of 1 (1 items)