I have Netduino Plus and I need it to send Http requests to my server. I'm not a guru in C#, I've never tried it before, so I copy/paste code from internet and try to make it works. But even after several hours I can't get it work.
using System; using System.IO; using System.Net; using System.Text; using SecretLabs.NETMF.Hardware; using SecretLabs.NETMF.Hardware.NetduinoPlus; namespace NetduinoPlusApplication5 { public class Program { static void Main() { var request = WebRequest.Create("http://example.com?variable=1"); request.Method = "GET"; var result = request.GetResponse(); } } } What am I doing wrong?