> I don't know if there is a custom tag that will do this but, you could use
> CFEXECUTE with either 'nbtstat' or, if you have the NT Resource Kit,
> 'getmac'. 'nbtstat' returns a lot more information than just the
> MAC, which
> means you'd have to parse the information, but 'getmac' returns only the
> MAC(s) given the IP address, NetBios name, or host name. You could
> optionally create a COM wrapper for it. Of course, Java, VB, and probably
> WSH, have the capability to do this too, I just don't have code on hand.
Oookay...
In the cfx_networktopology source (which I released a couple days back)
there is a function called LANsNT. It uses netbios calls to query for all
network adapters. If you program, that would be a _starting_ point if we're
talking about a local lan.
I... don't think there is anyway to directly query above you lan however.
Unless you want to write a service dcom for each network that you can query.
:)
(There's probably some easier way then this, some half documented ms api
somewhere but nothing I'd risk network security with comes mind at the
moment.)
Beyond this tends to be out of my area of experience....
--min
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists