P
Paul G. Tobey [eMVP]
Hi,
For those of you using OpenNETCF.Net in version 1.4 of the SDF, you'll find
new versions of several files in the vault at www.opennetcf.org,
OpenNETCF/SDF/v1.4/OpenNETCF.Net. Note that the source and binary packages
have not been updated, so you will need to grab individual files: Enums.cs,
AccessPointCollection.cs, OpenNETCF.Net.csdproj, EAP.cs (new file),
Adapter.cs, ChangeLog.txt.
The API for wireless control has been reworked to simplify making a user
interface similar to what WZC does. That is, you can set any authentication
type, any encryption type, use EAP for authentication, etc. This has been
tested in CE 4.2 with WPA, WPA-PSK, TKIP, and PEAP.
New methods now exist in Adapter for connecting to SSIDs with all of these
parameters and the old SetWirelessSettings() and SetWirelessSettingsEx()
methods have been deprecated (although using them will only generate a
warning, not an error, for now). The new methods are careful to take care
of the preferred SSID list. The new interface is made through the new
SetWirelessSettingsAddEx() methods. There is also a new method,
RemoveWirelessSettings() for removing an SSID from the preferred list of an
adapter.
A sample program demonstrating how to use the methods can be found in the
vault at OpenNETCF/Samples/WZCReplacement.
For those of you using OpenNETCF.Net in version 1.4 of the SDF, you'll find
new versions of several files in the vault at www.opennetcf.org,
OpenNETCF/SDF/v1.4/OpenNETCF.Net. Note that the source and binary packages
have not been updated, so you will need to grab individual files: Enums.cs,
AccessPointCollection.cs, OpenNETCF.Net.csdproj, EAP.cs (new file),
Adapter.cs, ChangeLog.txt.
The API for wireless control has been reworked to simplify making a user
interface similar to what WZC does. That is, you can set any authentication
type, any encryption type, use EAP for authentication, etc. This has been
tested in CE 4.2 with WPA, WPA-PSK, TKIP, and PEAP.
New methods now exist in Adapter for connecting to SSIDs with all of these
parameters and the old SetWirelessSettings() and SetWirelessSettingsEx()
methods have been deprecated (although using them will only generate a
warning, not an error, for now). The new methods are careful to take care
of the preferred SSID list. The new interface is made through the new
SetWirelessSettingsAddEx() methods. There is also a new method,
RemoveWirelessSettings() for removing an SSID from the preferred list of an
adapter.
A sample program demonstrating how to use the methods can be found in the
vault at OpenNETCF/Samples/WZCReplacement.