03-22-2010 04:19 AM
Note that there are different security protocols for SSL.
These examples here work only for the TLS protocol which is the default.
But if the server doesn't support TLS you won't get a response.
You can change the protocol by adding a property node for the SecurityProtocol of the class System.NET.ServicePointManager.
A possible value would be "Ssl3" for example:
http://msdn.microsoft.com/en-us/library/system.net.servicepointmanager.securityprotocol.aspx
03-22-2010 06:08 AM
I want to download an xml document that has a https url, so this thread should really help me accomplish that. Unfortunately I can't even find the .NET assembly that contains the WebRequest methods. Anayone know which assembly I should choose in the Labview Class browser to find these methods?
BTW. the code snippet has the method nodes removed when I drag it into Labview. Maybe that means that the assembly is not present in my installation?
Thanks!
Aart-Jan
08-16-2013 03:20 PM
Hi, I'm trying to do the exact same thing with no success any ideas?
08-16-2013 03:46 PM
What version of .NET is installed ?
08-16-2013 03:50 PM
The webpage i'm trying to parse is: https://192.168.254.254/XML/DeviceInfo.xml where the IP is the device I'm trying to query. I was wondering if there's a way to do the File - Save As of IE explorer programatically?
I'm using LabVIEW 2009 and .NET Framerwork 3.5 SP1
08-16-2013 04:17 PM
If you are trying to store the contents of the web page, you could use HttpResponse. I've not done the "Save As" ...