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
...