14 messages in com.googlegroups.google-desktop-developerRe: Show client IP address with googl...
FromSent OnAttachments
jrot...@gmail.com22 Jun 2007 14:10 
shnizep10 Jul 2007 20:48 
James [GD Team]11 Jul 2007 12:13 
rodflash14 Jul 2007 19:05 
rodflash15 Jul 2007 17:35 
James [GD Team]16 Jul 2007 18:03 
Jason Rottman20 Jul 2007 07:45 
Benjamin [API Guru]20 Jul 2007 10:54 
rodflash20 Jul 2007 12:30 
rodflash24 Jul 2007 19:37 
Yannick Stucki25 Jul 2007 02:13 
whallify27 Jul 2007 14:17 
rodflash29 Jul 2007 11:43 
Nitin06 Aug 2007 09:48 
Subject:Re: Show client IP address with google gadget
From:rodflash (rodf@gmail.com)
Date:07/14/2007 07:05:31 PM
List:com.googlegroups.google-desktop-developer

Hey! Thank you James! I was looking for this piece of code! Soon we'll get a Local IP Gadget. I'm workin on it! ; )

On Jul 11, 4:13 pm, "James [GD Team]" <j.@google.com> wrote:

Hello,

Here is a script that will iterate through all IP addresses on the machine (there can be more than one).

var wmiService = GetObject("winmgmts:\\\\.\\root\\cimv2");

var adapters = wmiService.ExecQuery( "Select IPAddress From Win32_NetworkAdapterConfiguration Where IPEnabled = True");

// Iterate through adapters. for (var e = new Enumerator(adapters); !e.atEnd(); e.moveNext()) { var adapter = e.item();

// Iterate through IP addresses for an adapter. // Though the property name is "IPAddress" it is actually an array // of all addresses for the adapter. if (adapter.IPAddress != null) { var addresses = VBArray(adapter.IPAddress).toArray(); for (var i = 0; i < addresses.length; ++i) { var address = addresses[i]; } }

}

Cheers! James

On Jul 10, 8:49 pm, shnizep <shni@gmail.com> wrote:

That would be VERY NICE. I LIKE.

jrot@gmail.com wrote:

We have several users in our company, and our Helpdesk remotes in to their computer to provide support. In order to do this, the customer needs to give the Helpdesk their IP address. I would like to make a google gadget that shows the IP address of the machine the user is sitting at. Can anyone please tell me how to determine the IP address of the machine using google gadgets? Thank you!- Hide quoted text -

- Show quoted text -