You posted a simialr question yesterday:
How to login automatically to my router ?[
^]
1-My router is lestening to 23 port,
2-I can login to my router with browser very well
Seems to indicate that the router has a built-in web server - and that's common.
So you need to "talk" to it using the
http protocol[
^] - it will reply with HTML, that you need to parse.
E.F. Nijboer answer yesterday about using the
HttpWebResponse
class will solve your problem, but you probably need to read up on the topic - and that a lot of information.
[Update]
Telnet is another common protocol that can be used with many routers - here is a nice little implementation of a telnet client in c#:
Quick tool : A minimalistic Telnet library[
^]
Best regards
Espen Harlinn