If the computer has no interface, then it will return an String containing null, otherwise will return a String containing what you asked for (the ip address or the mac). You need to specify a parameter with a String containing "ip" or "mac" depending on what you need to check. With all the possible solutions that i've found here and another replies, then i will contribute with my solution.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |