Unable to locate class HttpsURLConnection

ncacia

New member
Joined
Aug 16, 2007
Messages
1
Programming Experience
3-5
Background: I'm writing a web program in VB.NET (using VS 2005) where I need to connect to a certain website using an HttpsURLConnection object. The class definition for this can be found here:

http://java.sun.com/j2se/1.5.0/docs/api/javax/net/ssl/HttpsURLConnection.html

As you see, the Https class resides at javax.net.ssl, and is an extension of the Http class which resides at java.net

Problem: I can't seem to find ANY javax classes to import, anywhere! I've added a reference to "vjslib" which gives me reference to all of the java classes, but it doesn't get me any of the javax ones. I've tried adding references to various other items (more or less taking shots in the dark) to no avail.

Does anyone have any experience using this class? Can anyone help me? Thanks in advance for everything! :)
 
You can't use Java classes with VB.Net. (vjslib.dll is Microsoft Visual J# .Net library)
.Net framework classes in System.Net namespace supports https.
 
Back
Top