Answer the question
In order to leave comments, you need to log in
How to send http request via OpenVpn c#?
Perhaps through a normal vpn password-protected?
Perhaps there is some kind of library or sensible example.
That is, the goal is to use vpn as a regular set of proxies in the program for parsers and similar programs.
Answer the question
In order to leave comments, you need to log in
Armenian Radio is absolutely right, if your routes are configured as it should, then the necessary traffic will go through vpn anyway, and if not as it should, then they need to be configured. This is usually done regardless of the applications that will communicate over the network, this is done by the administrator either in the openvpn config, so that the latter gives the necessary routes to the client upon connection, or manually in some batch file that the user launches after connecting.
A separate question if you want to manage routes from your program. It's possible, but I'm not sure if you need it. Usually this is necessary if you have many different vpn configurations and you need to choose which vpn channel to send traffic using some tricky algorithm without user participation.
VPN exists in the abstract from the applications that work with the network. From the point of view of an application programmer, it makes no difference whether he works with a VPN or with a regular network.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question