none
socks proxy and HttpWebRequest (.NET 4.0 and above) RRS feed

  • Question

  • Dear Team,

    I am facing issue with sock proxies with port 1080.But i f i used same with port 80,no issue.

    Can you please confirm wheather any .Net framework is supporting sock proxies or not ?

    If yes,which one,please suggest

    Monday, August 20, 2018 12:20 PM

Answers

  • Hi 3Idiots,

    Thank you for posting here.

    As I know, .net framework does not support proxies such as SOCKS4/5 proxy servers. You could try to ProxySocket class. It provides an implementation of the SOCKS4/5 CONNECT protocol.

    For more details about ProxySocket class, please refer to the link below.

    http://www.mentalis.org/soft/class.qpx?id=9

    Best Regards,

    Wendy

    Note: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as a convenience to you.
    Microsoft does not control these sites and has not tested any software or information found on these sites; Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
    There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by 3Idiots Wednesday, August 22, 2018 6:25 AM
    Tuesday, August 21, 2018 7:24 AM
    Moderator

All replies

  • Hi 3Idiots,

    Thank you for posting here.

    As I know, .net framework does not support proxies such as SOCKS4/5 proxy servers. You could try to ProxySocket class. It provides an implementation of the SOCKS4/5 CONNECT protocol.

    For more details about ProxySocket class, please refer to the link below.

    http://www.mentalis.org/soft/class.qpx?id=9

    Best Regards,

    Wendy

    Note: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as a convenience to you.
    Microsoft does not control these sites and has not tested any software or information found on these sites; Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
    There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by 3Idiots Wednesday, August 22, 2018 6:25 AM
    Tuesday, August 21, 2018 7:24 AM
    Moderator
  • Thanks Wendy
    Wednesday, August 22, 2018 6:25 AM