Calling NertworkInterface.Refresh()

Last post 08-02-2009 12:00 by sankalpshere. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 08-02-2009 12:00

    Calling NertworkInterface.Refresh()

    Hi,

    We are using smart device framework 2.3.0.21 and we have a question regarding Refresh() method of OpenNETCF.Net.NetworkInformation.NetworkInterface class. We call Refresh() before accessing following properties of WirelessZeroConfigNetworkInterface class object, so that we can get current statistics.

    NearbyAccessPoints, AssociatedAccessPoint, PreferredAccessPoints etc. 

    In all above calls,  when the call to Refresh() method is absolutely necessary? Because too many calls to Refresh() raise Win32Exception exception saying 'unable to clear NDIS cache'. Also, Is there any time constraint on consecutive calls on this method.

Page 1 of 1 (1 items)