as mention in the subject,
im currently doing a project,
where i can list out all the active IP in the local area network,
the range of IP address is specified by user,
When the scanning is done,
it shows the results with hostname(xxx-pc) and domain(xx.inu.edu.my),
is there any method that allow me to keep the result that only show hostname(a machine)
to make things more clear,
the hostname and domain i mean here is similar to the answer mention in this article
http://superuser.com/questions/59093/difference-between-host-name-and-domain-name[
^]
"domain part would reach you to the campus network
and the hostname would let you reach the exact machine in the campus."
in my list box result,
there are many domain "intimal.edu.my", "newinti.edu.my"
and many of them occupy an IP address, thus when i scan the network, it appear in the result.
What i want is to get a list of active IP that occupied by a machine, not domain.
For you info, i'm referring the code from this article
Implement a basic IP Scanner for a local LAN in C#[
^]
(click below link to view the screen shot)
Screenshot reference:
https://lh4.googleusercontent.com/-R-yBiHVKRF8/UCn_eeSEVCI/AAAAAAAAANo/wnevukhnpqY/s287/Fullscreen+capture+1482012+33338+PM.bmp.jpg[
^]