473,398 Members | 2,120 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

UPnP

25
Hello,

I am using UPnP in c# to communicate with my router. So far i have managed to do this:
1. Get router info(xml)
2. Get external(public) IP address
3. Add and delete port mapping

Is there any way to see which ports are forwarded? I think it is possible with eventing but my router doesnt support it. I tried with queryStateVariable action but with no success. I am not using NAT traversal.
Jul 27 '08 #1
2 2948
Plater
7,872 Expert 4TB
How are you using UPnP from withen .NET? I am curious as I've never found anyway to interact with UPnP and would be interested to see what I could come up with.
(I have a router that claims to support UPnP as well)
Jul 30 '08 #2
Svinja
25
How are you using UPnP from withen .NET? I am curious as I've never found anyway to interact with UPnP and would be interested to see what I could come up with.
(I have a router that claims to support UPnP as well)
I send SOAP messages to UPnP device(router) and then wait for the answer. UPnP is actually very simple protocol. UPnP standard is made by UPnP forum.

First you must understand UPnP(first three chapters are most important for good start):
www.sane.nl/sane2006/program/final-papers/R6.pdf

This is the link for official UPnP documentation:
http://www.upnp.org/resources/upnpresources.zip
(UPnP-DeviceArchitecture-v1.0.pdf was very helpfull to me)

Some examples:
http://zbowling.com/projects/upnp/

I can put some of my code here if you want?
Jul 31 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Ben Last | last post by:
I've been messing around with my Netgear MP101 and alternate servers. I like the MP101, but the server that comes with it leaves a lot to be desired (like you need to have it running on a...
0
by: Geoff Aukett | last post by:
Hello, Does anyone know of any .NET code to deal Upnp. I would like to create a windows service that will communicate with a wireless Upnp device. I have been to the Upnp forum but its all very...
0
by: bsimaie | last post by:
Hello, could somebody help me to convert the below UPnP service filr to WSDL web servive file: <serviceList> <service> <serviceType> urn:schemas-upnp-org:service:PowerSwitch:1 </serviceType>...
1
by: Robert S | last post by:
Hello, could somebody help me to convert the below UPnP service file to WSDL web service file: <serviceList> <service> <serviceType> urn:schemas-upnp-org:service:PowerSwitch:1 </serviceType>...
0
by: Robert S | last post by:
Hello group, I tried to combine UPnP servive and blenderpowerSCPD.xml and come up with WSDL web service file as below: UPnP services: <serviceList>
0
by: nezoat | last post by:
Here is some working code to open the specified TCP port on the gateway nat device or firewall, and forward it to the calling machine. Great for p2p apps. The newsgroups are such a great...
3
by: Paul Sijben | last post by:
I am writing some client software that needs to accept connections from the Internet. So I am looking for a UPnP implementation for a client of an Internet gateway so I can request the NAT binding....
1
by: Scumbumbo | last post by:
I'm writing a VB app in Visual Studio 2005 where I'd like to automatically setup inbound port mappings for the user on their home router. I've been playing with trying to use the NATUPnP 1.0 Type...
1
by: xlar54 | last post by:
Ive searched around and Im hazy on what is needed to develop media server code. Is there a UPnP library for C#? Linux apparently has many, and I even found a Java one, but can't locate anything...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.