How To Use Proxies (HTTP And Socks)
Apr 2, 2009Proxies are HTTP and socks. How can I use them to surf internet? I know "iwebproxy " of .net but do not understand how to use them for this perpose.
View 1 RepliesProxies are HTTP and socks. How can I use them to surf internet? I know "iwebproxy " of .net but do not understand how to use them for this perpose.
View 1 Repliesis there any way to change the webbrowser Proxy and socks in vb.net
View 2 RepliesAnyone know anymore .DLL Files that are like this?
HTTP client component for communicating with HTTP servers. [URL]
Im looking for something that acts like Web Browser Control But it is not. It should be like HttpWebRequest Class But handle the stuff properly like a Web Browser Control Does.
So i found Chilkat HTTP .NET
I have the following column values in my table Sample values:
[URL]
I want to have 2 variables having the links and content separate - example:
[URL]
I guess it can be done via String functions or regular expression.
I am making a web browser and I was wondering how I could create connections through proxies. Right now the browser only uses UDP packets, so any info specifically on that would be great.
View 8 RepliesWhat's the RegEx for IP : Port?
View 3 RepliesHow to set timeout time for Proxies.
i am using
dim w as new webclient
w.proxy= new system.net.webproxy("xxx.xxx.xxx.xxx.:xxx")
most of the time it says unable to connect or it throws any error msgs... when i check those proxy in internet, they seem to work well. only few proxies are working.
I'm trying to use proxies with HTTPWebRequets and it works just fine until I try and post data. It keeps timing out for some reason. Attached is the class I use for webrequests.
Imports System.IO
Imports System.Net
Public Class EasyHttp
Public Enum HTTPMethod As Short
[code]....
Im programming something with httpwebrequest/response. I'd like to incorporate proxies with that program. I was just wondering whats a good way to verify if proxies are working or not?
View 1 RepliesI have an application that has 4 WebBrowser control to monitor a commercial website. I would like each WebBrowser to be using its own proxy however it looks like the proxy setting affects all the browsers and cannot be set on an individual basis.
Is there a way to have individual proxies for each WebBrowser control?
Well I decided to try make a proxy checker, like Charion or Elite proxy checker. These programs accept large lists of proxies in the IP:PORT format, ping them tell you the response time see the screenshot of Elite Proxy Checker, im trying to make a simplified version of this program. [URL]I investigated and made my checker using Ping.SendAsync(ip, timeout, ip) method. It was only afterwards that I discovered that you can only Ping IP's using this method, not the ports as well. Ive spent a few hours trying to find the correct class/methods in order to be able to ping ports, reading different forum posts from experts they say its impossible to ping ports only IPS, can only use sockets to try open a connection with the port.
[Code]...
This has been a huge issue for me for a long period of time. Endless searching on google and through the visual studio documentation has yielded no results. Here is the code I'm using to change my webbrowser proxy:[code]
View 4 RepliesI'm trying to implement proxy rotation within my vb 2008 ap & I wasn't very sure with where to start. I would like to have an empty message box where people can drag and drop their proxies or import their proxies into. Then the program will enable the user to surf via a web browser control.
View 2 RepliesI'm trying to run a specific test on my server using a program that can run multiple requests (using Webbrowser control) at the same time but with different proxy settings.What I am using now is working but only for one webbrowser control, im seeking advice for how to run multiple side-by-side.
<Runtime.InteropServices.DllImport("wininet.dll", SetLastError:=True)> _
Private Shared Function InternetSetOption(ByVal hInternet As IntPtr, ByVal dwOption As Integer, ByVal lpBuffer As IntPtr, ByVal lpdwBufferLength As Integer) As Boolean
[code].....
I was wondering if somone one could point me in the right direction on this.Basically I am making a proxy testing program. A user can supply a list of proxies to test. What i want to be able to do is have them be able to specify how many threads they want to run. Then have the program go through the list testing each one using the amount of threads supplied. Really not sure even where to start on this. Threadpooling?
View 2 RepliesI have been trying to implement proxies in a webbrowser control...
View 1 RepliesI have 5 proxies, 2 of them are standard and 3 of them requires a username and password.
Im using a webbrowser control. Can anyone point me to the right direction as to what codes i need to implement for both standard proxies and the ones that have user names and passwords?
How would I go about using a webbrowser to increase website hits and has the option of enabling proxies. I'm more concerned with the proxy part
View 10 RepliesWe have a set of assemblies which implement web services operations.To build the client proxies, we first build and deploy the web services (assemblies and ASMX files) on the server.Then we use wsdl.exe to point to the ASMX endpoints and generate the classes for the client proxies.I've seen that it is possible to create the proxies from wsdl files (instead of asmx endpoints) using wsdl.exe or disco.exe.Is there a tool to generate wsdl files or event better proxy classes directly from the server assemblies without the need to use a web server?
1) This is a somewhat large project that has been in development for over a couple of years now. The decision to use ASMX web services was made before the existence of WCF.
2) I already thought about writing our own proxy generator and that may be an option if we don't find a tool that does it.
3) We still want to bind to the WSDL contract. What I'm trying to avoid is having a dependency on a web server during the build process.
4) We already auto-generate the proxies in our automated build which runs in TFS Build and that has not been an issue per se. The issue, as I was told, is having to split the build in two parts: server & client. There may be alternatives to avoid the split using some fancy MSBUILD task, but my knowledge on that matter is limited.
5) I do expect the build to brake on TFS Build if the client side code and server side code don't match during compilation. That should have been addressed on the developer's machine before check-in.
6) We have strict control over the server and the client parts. This set of web services serve as a back-end to a Click Once Windows Forms application. Everything runs on an intranet. Every time the contract changes, it is done in tandem with a new version of the client application.
7) WCF is not an option in the short term for this set of web services. When I joined the project over a year ago I was given the task of creating a new set of web services for interoperability with other internal systems. Those web services were designed upfront to be easily upgradable to WCF once upper management allowed us to use WCF. I'll have to take a look into svcutil.exe, but if it does what we need, I'll have another point in trying to convince upper management to adopt WCF.
Im trying to create a software which can post into yahoogroups.I've done trying to log in yahoomail but my problem is when I am going to post in yahoogroups, I am turning back in to yahoo log in page.
Here's my code so far:
Quote:
Imports System.IO
Imports System.Net
Imports System.Text
[code]....
I am making an application that uses multiple WebBrowser controls, and multiple proxies.The code for changing the proxy settings are as such:
#Region "Proxy"
Public Structure Struct_INTERNET_PROXY_INFO
Public dwAccessType As Integer
Public proxy As IntPtr
[code]....
Note: getRandomProxy gets a random proxy from a list.Problem is that whenever RefreshIESettings(getRandomProxy()) is applied, the proxy will be applied to all of the WebBrowsers, while i would need to have a unique proxy for each WebBrowser. Not having this would just error out the page in the other browsers and so on.
I have a WCF service which I'm trying to access via a browser. It works fine via the test client, but my breakp[oints are not called when using a browser. My web.config has
<system.serviceModel>
<client>
<endpoint address="http://localhost:84/BillService.svc"
[code].....
How do you get if an url is http or https. Like if you want to get the type of [URL], it shows https, and if you want to get the type of [URL], it shows http.
View 12 RepliesI've an annoying ASP.NET problem:
I have a Perl script (see below), which gets the form_info variable. Now unfortunately, it's http POST, and not http GET, so Request.Querystring doesn't work...
Now I have to replace the Perl Script with an asp.net page/app, but my problem is that I cannot process the string form_info when I don't have the string... and I cannot change the http POST to a HTTP get, since it's generated by a 3rd party java applet.
# Print out a content-type for HTTP/1.0 compatibility
print "Content-type: text/html
";
#
[Code]....
I'm attempting to login to a cPanel using a POST Request in VB.Net. I have the correct credentials when logging in and when posting I still get an 'Unauthorized (401)' response when it should be '301' (analysed using Tamper Data Firefox Add-On). Below is my post request information and function.[code...]
View 1 RepliesI'm attempting to update a legacy VB6 component (not written by me) to the .NET platform. There is one function which posts an XML string to a URL:
Function PostToUrl(ByRef psUrl, ByRef psData, Byref psResponseText, ByRef psErrorMsg, ByRef psUsername, ByRef psPassword)
On Error Resume Next
Dim objWinHTTP
[CODE]...
I've updated this to:
Public Function PostXml(ByVal XML As String) As Boolean
Try
Dim URL As String = My.Settings.NTSPostURL
'TODO: supply username and password! '
[CODE]...
However when I run the .NET code the server returns the error '403 Forbidden - protocol error' on the line: Using Response As HttpWebResponse = DirectCas (HTTPRequest.GetResponse(), HttpWebResponse). The VB6 code runs fine. identify any discrepancies between the two that might be causing this?
i have a problem with a chat application in vb.net the problem is occuring when i loading data from a XML file , my form is not responding.
View 1 RepliesI need to download a bunch of pages from a web server, ie. spidering. I know that servers are typically configured to only allow a couple of concurrent connections from a given IP, but that would already halve the total time to run the script instead of downloading one page at a time.
View 4 RepliesNormally, when you create a HTTP module, you create it as separate dll project and register that dll in the web.config.Now, is it possible to write a HTTP module directly in an ASP.NET project, so I don't have to create a separate dll project?Note: Don't say as an added project in the same solution, I mean in the same project.Or would just adding a reference to this dll suffice ?
View 1 RepliesI would like to make VB2008 program to connect http and get response as string, in PHP I normally use curl how about in VB2008 ?
View 6 Replies