如何在C#中为WebClient设置端口?

如何在C#中为WebClient设置端口?

问题描述:

我正在尝试使用c#中的webclient下载文件.

I am trying to download a file using webclient in c#.

文件位置的远程端口是20114.如何告诉Webclient使用20114端口?

the remote port of the file location is 20114. How do I tell webclient to use 20114 port?