I tried my idea. I sent debug info over UDP broadcast. Then, by monitoring the UDP packets in Wireshark, I was able to confirm that the problem is present even with neither MFDeploy or Visual Studio open. The NetworkInterface.Address property is still 0.0.0.0. (I also verified the Gateway property. It is exhibiting the same problem.)It just occurred to me that the problem may be only manifested when using a debugger (either MFDeploy or Visual Studio). I am going to run my code again, but with a UDP broadcast from the netduino and monitor the packets in Wireshark. I will post my results once I have tried this.
I am hoping that one of the SecretLabs staff will jump in and give some thoughts. I have tried to make this as simple and reproducible as possible from the very beginning.
Has anyone been able to reproduce the problem from my first post? Any workarounds or solutions other than a blind Sleep statement?