Ask a questionAsk a question
 

Answerhow do i forward port to router using C# ?

Answers

  • Wednesday, November 04, 2009 7:39 PMDips Patel Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hello,

    Please check the below link. You will get some clear understanding on it.

    http://pietschsoft.com/post/2009/02/NET-Framework-Communicate-through-NAT-Router-via-UPnP.aspx
  • Thursday, October 01, 2009 7:02 PMSheng Jiang 蒋晟MVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    There is no language element in C# that can do the port forwarding for you.
    The high-end router/gateway software may support programmatic port forwarding. Contact the device or the software s producer to see if they have any API/SDK for port forwarding. If you want to discuss how to use the API/SDKs, visit a forum of the producer or if there isn't any, contact its customer support.


    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
    Visual C++ MVP

All Replies

  • Thursday, October 01, 2009 7:02 PMSheng Jiang 蒋晟MVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    There is no language element in C# that can do the port forwarding for you.
    The high-end router/gateway software may support programmatic port forwarding. Contact the device or the software s producer to see if they have any API/SDK for port forwarding. If you want to discuss how to use the API/SDKs, visit a forum of the producer or if there isn't any, contact its customer support.


    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
    Visual C++ MVP
  • Wednesday, November 04, 2009 7:39 PMDips Patel Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hello,

    Please check the below link. You will get some clear understanding on it.

    http://pietschsoft.com/post/2009/02/NET-Framework-Communicate-through-NAT-Router-via-UPnP.aspx
  • Thursday, November 05, 2009 12:04 AMKareem Mohamed Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks a lot Dips you are really gave me what i want
    Thanks Thanks Thanks Thanks
    Kareem Mohamed Naguib
  • Friday, November 06, 2009 9:12 PMDips Patel Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    You WelCome :)