#65783 - 2002-05-30 12:47 AM
Re: HowTo determine IP Address
|
Jacks0r
Fresh Scripter
Registered: 2002-05-28
Posts: 23
Loc: Berlin, Germany
|
OK, i have a fix for this problem. All you need is a .dll and a little vbs-code.
wtsmanager.dll
Code:
$WTS = CreateObject("WTSManager.Shell") $clIP = $WTS.MyIPAddress $clName = $WTS.MyClientName MessageBox ("My computer name: $clName @CRLF My IP address: $clIP","Test", 4160)
Serversided it runs only under W2K. If the Client runs NT4.0 Workstation you must have installed the TS-Client from W2K, elsewhere it dont works. I think, it caused by the RDP5-protocol.
Jacks0r [ 29 May 2002, 16:17: Message edited by: Jacks0r ]
|
|
Top
|
|
|
|
Moderator: Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 987 anonymous users online.
|
|
|