WPS is an component which is built into the WZCSVC service to support
"hotspot" technologies. The WPSDDK documentation does not describe how to
extract SSIDs but how to add or query your own hotspot XML files on a
client. WPS is a something which you'd probably not need to examine unless
you're a hotspot provider yourself. There is one exception to this
statement: there is an API "CreateProfile" included in the WPS documentation
which you can use to create a wireless profile in the preferred list. Note,
this will not satisfy your initial problem but I may have a workaround
solution.
Personally, I don't know of a publicly documented API to extract the
properties of a wireless profile in XPSP2. So my suggestion to find the list
of preferred SSIDs is through the logs created by the wireless service. If
you enable wireless tracing:
C:\>netsh ras set tracing WZCTrace enable
you'll create a %SystemDrive%\Windows\Tracing\WZCTrace.log file which is
spew generated from the WZCSVC service. You can parse this log file for the
SSIDs scanned based on the preferred list. This list will provide you with
the basic properties (read, SSID) of the preferred network list.
--
Oliver
This posting is provided "AS IS", with NO warranties and confers NO rights
-----------------------------------------------------------------------------
"Arkady Frenkel" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Did you downloaded WSPDDK with example of Query in it ?
> http://www.microsoft.com/whdc/device...eless/wps.mspx
> Arkady
>
> "Prikko" <(E-Mail Removed)> wrote in message
> news:C1AF1CCA-50B3-441C-BEE4-(E-Mail Removed)...
>>I am trying to read the list of SSIDs stored in the Zero Config's
>>preferred
>> network list. I believe this is possible through WPS -
>> IProvisioningDomain::Querry. But I am not able to find any example for
>> this.
>> It would be helpful if you could direct me to a sample.
>>
>> Thanks,
>> Priya
>
>