2

I am using OpenNetCF 2.3.0.39 and I am getting a hard crash when try to access the DnsAddresses.Count property. Is anyone familiar with this problem or a workaround?

Dim interfaces As NetworkInterface() = NetworkInterface.GetAllNetworkInterfaces()

For Each ni As NetworkInterface In interfaces

Dim ipProps As IPInterfaceProperties = ni.GetIPProperties()

If ipProps.DnsAddresses.Count > 0 Then

...

ctacke
  • 66,480
  • 18
  • 94
  • 155
Randall Hoffpauir
  • 275
  • 1
  • 4
  • 11
  • It works on all of my test devices that I have in-house. What kind of device are you using? Can you step through the source and see where the failure is occurring? – ctacke Oct 23 '09 at 13:13
  • @ctacke the device is a symbol MC70. sorry I didn't see your comment until now. – Randall Hoffpauir Feb 23 '11 at 18:47

0 Answers0