Configuring Wifi Settings Using C #

How to configure Wi-Fi settings for a Win Mobile application using C # (compact system)?

So the deal:

  • Configure the network (SSID for the hidden access point)
  • WPA Authentication Using TKIP
  • Force user and password (end user will not ask for authentication)
+2
source share
4 answers

Take a look at the Smart Device Framework . It has a NetworkInformation namespace that wraps a large number of WZC functions. I know that it will be WEP and WPA with TKIP (as well as open). This allows you to transfer key material, configure most parameters, etc.

WirelessZeroConfigNetworkInterface AddPreferredNetwork.

. , API , .

+4

, .

- , (, , GPRS).

, , CAB , _setup.xml, Windows Mobile .

, MSDN ( Wi-Fi).

, ( ...)

+1

Alternatively, you can probably use the Connection Manager API .

0
source

The username and password must be set directly in the registry. They are in [HKCU]\Comm\Eapol\<ssid>\Identityand [HKCU]\Comm\Eapol\<ssid>\Password. Username is cleartext, password is encrypted. These locations are defined in the platform linker header eapol.h.

-PaulH

0
source

All Articles