N
N
NameOf Var2017-10-26 09:08:16
C++ / C#
NameOf Var, 2017-10-26 09:08:16

How to determine the list of computers in the local network without enumeration?

It is required to display a list of computers that are on the local network, without a scanner and enumeration of IP addresses.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
C
CityCat4, 2017-10-26
@CityCat4

on vbs :)

Set objShell = CreateObject("Shell.Application")

'Taking folder "Network" by CLSID (
'See http://safezone.cc/threads/kratkij-spravochnik-po-clsid.20350/ to list CLSIDs
Set objFolder = objShell.NameSpace("::{208D2C60-3AEA-1069-A2D7-08002B30309D}")

' Process each box in folder "Network"
For Each objItem In objFolder.Items()
  strBoxName = compName(objItem.Name)

  If (boxAvailable(strBoxName)) Then
    Call checkService(strBoxName, strService, arrayNodeploy, strMailBody)
  End If  
Next

compName, boxAvailable and checkService are internal procedures

V
vreitech, 2017-10-26
@fzfx

interrogate on one of computers a state of NetBIOS.

K
Kirill Inkognatovich, 2017-10-26
@Matsunaki

You can ask the list of active clients on the router :)

D
dmfun, 2017-10-26
@dmfun

net view?

A
Anton, 2017-11-02
@aszhitarev

Query to Active Directory

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question