Ethernet problem on EMX netmf 4.2

I have a problem on code after upgrade firmware from 4.1 o 4.2


NetworkInterface[] netif = NetworkInterface.GetAllNetworkInterfaces();
            

                netif[0].EnableStaticIP(xmlIP, xmlMask, xmlGW);
                netif[0].EnableStaticDns(xmlDNS);
                Debug.Print(netif[0].IPAddress.ToString());
            

I see 3 network interface so I configure only the first interface.
Problem is that it’s impossibile to ping device.
WIth firmware 4.1 and this code, there wasn’t problem.

Ideas???

Tks

Which is the correct variable definition for ethernet??

Tks

Should be the first one