Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. C# IP Scanner

C# IP Scanner

Scheduled Pinned Locked Moved C#
csharpsysadminhelp
8 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nhqlbaislwfiikqraqnm
    wrote on last edited by
    #1

    Hey guys! Can somebody help me to make a Ip scanner for Server and client. And when the Client can connect one IP i want to show me the ip in a TextBox. He should scan all ip´s from x to y and every ip he can connect should he show me in a textbox!

    S M 2 Replies Last reply
    0
    • N nhqlbaislwfiikqraqnm

      Hey guys! Can somebody help me to make a Ip scanner for Server and client. And when the Client can connect one IP i want to show me the ip in a TextBox. He should scan all ip´s from x to y and every ip he can connect should he show me in a textbox!

      S Offline
      S Offline
      Saksida Bojan
      wrote on last edited by
      #2

      Implement a basic IP Scanner for a local LAN in C#[^]

      N 1 Reply Last reply
      0
      • S Saksida Bojan

        Implement a basic IP Scanner for a local LAN in C#[^]

        N Offline
        N Offline
        nhqlbaislwfiikqraqnm
        wrote on last edited by
        #3

        i have seen that scanner. but how can i check all ip´s if i can connect them? I want that i can see all IP´s which i can connect in the textbox but i don´t know how!

        S 1 Reply Last reply
        0
        • N nhqlbaislwfiikqraqnm

          i have seen that scanner. but how can i check all ip´s if i can connect them? I want that i can see all IP´s which i can connect in the textbox but i don´t know how!

          S Offline
          S Offline
          Saksida Bojan
          wrote on last edited by
          #4

          why don't you try connecting to each ip you get. Or are you asking how to get list of ip from textbox

          N 1 Reply Last reply
          0
          • S Saksida Bojan

            why don't you try connecting to each ip you get. Or are you asking how to get list of ip from textbox

            N Offline
            N Offline
            nhqlbaislwfiikqraqnm
            wrote on last edited by
            #5

            "why don't you try connecting to each ip you get." Yes but then he will always connect the same IP! And i want to show me all IP´s which i can connect in a textbox. Then i have a other textbox for the connecting there i enter the Ip(from the textbox where i can see all open ip´s) that i want.

            S 1 Reply Last reply
            0
            • N nhqlbaislwfiikqraqnm

              "why don't you try connecting to each ip you get." Yes but then he will always connect the same IP! And i want to show me all IP´s which i can connect in a textbox. Then i have a other textbox for the connecting there i enter the Ip(from the textbox where i can see all open ip´s) that i want.

              S Offline
              S Offline
              Saksida Bojan
              wrote on last edited by
              #6

              I dont quite follow you, because it is hard to understand.

              PC17 wrote:

              Yes but then he will always connect the same IP!

              Are you feeding him same ip?

              PC17 wrote:

              And i want to show me all IP

              So you use textbox for showing IP? You coud have selected multiline property to true for textbox or did you use ListView or ListBox control for showing? Doues your control shows diffrent ip? Or you use only 2 textboxes that have range of scan?

              1 Reply Last reply
              0
              • N nhqlbaislwfiikqraqnm

                Hey guys! Can somebody help me to make a Ip scanner for Server and client. And when the Client can connect one IP i want to show me the ip in a TextBox. He should scan all ip´s from x to y and every ip he can connect should he show me in a textbox!

                M Offline
                M Offline
                mrcooll
                wrote on last edited by
                #7

                hello , try to implement this algorithm

                //this is not code
                foreath(ipaddress ip in GetAllIps()){

                if( CreateThread(Ping(ip))){
                AddToList(ip);
                }

                }

                N 1 Reply Last reply
                0
                • M mrcooll

                  hello , try to implement this algorithm

                  //this is not code
                  foreath(ipaddress ip in GetAllIps()){

                  if( CreateThread(Ping(ip))){
                  AddToList(ip);
                  }

                  }

                  N Offline
                  N Offline
                  nhqlbaislwfiikqraqnm
                  wrote on last edited by
                  #8

                  Sorry that you don´t understand me! Maybe that helps! http://yfrog.com/07neuesbild3fp[^] When not write me!

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups