469,325 Members | 1,502 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,325 developers. It's quick & easy.

How can we get the client user machine details using JAVA Script

Hi all,

I need to know that how can we get the client machine's information i.e. machine id,machine ip using javascripts?

Thanking you.

Regards,
Namrata
Dec 6 '06 #1
3 4880
acoder
16,027 Expert Mod 8TB
This is not possible with JavaScript.
May 31 '08 #2
rnd me
427 Expert 256MB
you can get a lot of info from window.navigator, window.screen, and navigator.mimeTypes. this is more generic info like resolution, cpu type, os version, etc..

the outside ip is visible only to a server.

the local ip can be reached from javascript using a simple java bridge:

Expand|Select|Wrap|Line Numbers
  1. function myIP(){ var vi="/gets the users local ip number"
  2.     var yip2=java.net.InetAddress.getLocalHost();    
  3.     var yip=yip2.getHostAddress();
  4.   return yip;
  5. }//end myIP
  6.  

i am not sure what "machine id" means...
Jun 1 '08 #3
acoder
16,027 Expert Mod 8TB
The machine ID will probably be a Windows thing. Some of this info. may be available via ActiveX, but obviously that's IE-only in a non-secure environment.
Jun 1 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

7 posts views Thread by CT | last post: by
4 posts views Thread by Yasaswi Pulavarti | last post: by
1 post views Thread by Stephen | last post: by
12 posts views Thread by ShepardBerry | last post: by
5 posts views Thread by AeonOfTime | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by mdpf | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.