Re: Enumerating all resources on Network

From: RockinFewl (rockinBUBBLE_at_WRAPwhirlywiryweb.com)
Date: 06/16/04

  • Next message: David Liao \(MS\): "Re: 802.11b USB Adaptor support for WinCE .NET 4.2 - x86"
    Date: Wed, 16 Jun 2004 17:05:06 +0200
    
    

    Mona wrote:
    > Hi All,
    >
    > I have a problem regarding getting all the resources on a network using WindowsCE. Does anybody know how to get all the machines on a network in which windowsCE device has been added.

    Check out WNetEnumResource().

    When you pass your NT domain name to WNetOpenEnum(), WNetEnumResource()
    will enumerate all direct decendant resources: these are all machines in
    the domain.

    So in order to do this, your Windows CE needs to have the the following
    ready:
    1) The exact name of the domain (so far I haven't found a way to
    dynamically discover domains from WinCE)
    2) A valid domain user login (you need this to enumerate the resources)

    MSDN provides more information, and example code.

    Good luck,
    Koen.


  • Next message: David Liao \(MS\): "Re: 802.11b USB Adaptor support for WinCE .NET 4.2 - x86"

    Relevant Pages

    • Re: Detect open windows shares?
      ... to know their names is to browse the network neighborhood. ... The WNetOpenEnum function starts an enumeration of network resources or existing connections. ... RESOURCE_CONTEXT Enumerate only resources in the network context of the caller. ... To obtain a description of the error, call the WNetGetLastError function. ...
      (comp.lang.perl.misc)
    • Re: Enumerating all resources on Network
      ... I have made WindowsCE part of my domain and I am using my domain user name to telnet to the windowsCE device. ... >> I have a problem regarding getting all the resources on a network using WindowsCE. ... > When you pass your NT domain name to WNetOpenEnum, WNetEnumResource() ... > 2) A valid domain user login (you need this to enumerate the resources) ...
      (microsoft.public.windowsce.embedded)
    • Enumerating all resources on Network
      ... I have a problem regarding getting all the resources on a network using WindowsCE. ... Does anybody know how to get all the machines on a network in which windowsCE device has been added. ...
      (microsoft.public.windowsce.embedded)
    • Re: proper naming of a domain
      ... The primary reason for not being able to see resources/browse etc during a VPN is that the IPschema of remote network is the same as the LAN that you are connecting to. ... from home I can Connect to the server and it tells me that I am connect to ... resources it tells me that the path cannot be found. ...
      (microsoft.public.windows.server.sbs)
    • [Full-Disclosure] Authorities eye MSBlaster suspect (long reply)
      ... Although segments of that network are cordoned off (and I ... the incident which requires the response. ... issues that that the old (and normally less secure) systems shall vanish. ... Recall that security balances against usability and resources. ...
      (Full-Disclosure)