The type or namespace name ‘HttpWebRequest’ could not be found (are you missing a using directive or an assembly reference?)
What am I doing wrong?
As I understand it, the GHI world has its own implementation of HttpWebRequest and related… but where?
I was using “System.Net.HttpWebResponse” and this does not work in Panda land.
I poked around, and did not find it in the new world…
using System; using System.Threading; using System.IO; using System.Text; using Microsoft.SPOT; using Microsoft.SPOT.Hardware; using GHIElectronics.NETMF.FEZ; using GHIElectronics.NETMF.Hardware; using GHIElectronics.NETMF.Net; using GHIElectronics.NETMF.Net.NetworkInformation; using (var request = (HttpWebRequest)WebRequest.Create(requestUri))