locked
ping IP´s 10.14.173. RRS feed

  • Question

  • Hello,

    i want to ping some ip´s. i connect my notebook with some networks each day. some networks starts with 10.14.173. or with 10.15.168. or with 10.14.193. and so on. my pc gets alway the ip 10.0.0.2 !

    Now i want to write a tool with visual studio 2010, so i can press a button and then a messagebox will tell me "you are connected with network A" if i connected with 10.14.173. ! if i connected with 10.15.168. the messagebox will tell me ""you are connected with network B" and so on...

    The networks are not connected each other.

    i only know how i can ping an complete ip like 192.168.1.1 but i don´t know how i can ping only 10.14.173. or all 255 adresses and if one answers then the messagebox will tell me "you are connected with network A".

    I hope you understand me, because my english isn´t the best and i hope you can help me!?

    Saturday, September 15, 2012 11:16 AM

Answers