07-09-2012 09:03 AM
I was hoping to use the dotnet HttpWebRequest and HttpWebResponse methods that are part of the System.Net namespace in LabVIEW like I can in C# but when I look within the System.Net constructor under those names I just find for them "This class contains no public constructors."
Am I looking in the wrong place or are these not implemented in LabVIEW (11.0.1f1)?
Thanks!
07-09-2012 10:23 AM
As far as I can tell the constructors for HttpWebResponse and HttpWebRequest have been deprecated since .NET 1.1 - see here for details: http://msdn.microsoft.com/en-us/library/kc8dsx61.aspx.
Microsoft's documentation says to use WebRequest.Create and WebRequest.GetResponse instead, in LabVIEW this would look like this:
(VI attached)
Hope this helps.
Simon