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!

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,905 questions
C#
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.
10,995 questions
{count} votes

Your answer

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