Is there any way to know the computer is connected to a router?

  • Thread starter Thread starter garks
  • Start date Start date
G

garks

Is there any way to know the computer is connected to a router?

I know using WebRequest is one of the method,
but WebRequest need router's URL , username and password.
I don't know those information.

Is there any other way to know the existence of router?

Thanks.
 
Thank you for your reply.

I am a newbie to networking.
I search it over the internet very long time, but cannot find the clue
to solve the problem.
Could you explain more?

I am doing a project which writing a small window app.
It determines the computer that runs this app have a router connected
or not.
If yes, it will invoke event A. Otherwise invoke event B.

Thanks in advanced
 
Thank you for your reply.

I am a newbie to networking.
I search it over the internet very long time, but cannot find the clue
to solve the problem.
Could you explain more?

I am doing a project which writing a small window app.
It determines the computer that runs this app have a router connected
or not.
If yes, it will invoke event A. Otherwise invoke event B.

Thanks in advanced

Perhaps, if you traceroute an IP and if the path is greater than 2
hops, then the traffic is being routed. I am not sure if you determine
if the device routing your traffic is a router though. ??
 
Thank you for your reply.

I am a newbie to networking.

We can see that
I search it over the internet very long time, but cannot find the clue
to solve the problem.

What is your problem to start with? You just asked a question but you
did not described your problem

I am doing a project which writing a small window app.
It determines the computer that runs this app have a router connected
or not.

You need to be more especific, start with explaning what you consider
a "router"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top