Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can i get mac address by using Applets  RSS feed

 
A Chauhan
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,
I am planning to write a licensing module which will validate the mac address of a system. For that i want to know can i get the mac address of a system by using applets.

thanks in advance
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java can't access low-level details like this without resorting to native code using the JNI API. And since you can't ship an applet with native libraries, this won't work.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!