How to change proxy for httpclient?

D.D.K-2637 966 Reputation points
2023-03-30T20:17:55.2366667+00:00

Hi, from this codehow do I find the address and port?

can i get the data here

User's image

then paste in the proxy info like this?

Screenshot_18

however , then I cannot access the internet..

Is there a simple way I can manually generate the ip address and port during the run of the code? where do I need to get these list?

because, I want to set up proxy for httpclient when craw web but I'm stuck.

Thanks you!

Developer technologies | .NET | Other
Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.