Hi Folks,
My name is Kamal, and I am new to Netduino. So far I'm having fun learning. I got a Netduino Plus 2 for a skunkworks project at my day job and I'm trying to figure something out which I'll explain below. The project will involve porting or adapting a full .Net 4.5 application that runs on an expensive rack-mounted x86 server, so the Netduino Plus 2, bringing total cost down by more than an order of magnitude, and improving reliability and performance.
So, the question/problem: I am using these lines to enable DHCP and Dynamic DNS server assignment, and to verify the IP address:
var interf = Microsoft.SPOT.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()[0]; interf.EnableDynamicDns(); interf.EnableDhcp(); Debug.Print("Netduino is on " + interf.IPAddress + " /// DHCP: " + interf.IsDhcpEnabled);