🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #743

Re: how to get Ethernet Adapter's physical Address by java.

#743
From: John McGrath TeamB
Date: Mon, 09 Dec 2002 00:13
16 lines
1481 bytes
On Sun, 8 Dec 2002 22:52:26 +0800, jony zhang wrote:

> i want to get Ethernet Adapter's physical Address by java in
> linux and windows,could you tell me how to do it?

There is nothing to do this in Java that I am aware of.  You will have 
to resort to some native approach, either using JNI or Runtime.exec().

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <MPG.185daa43b4b8e81e98bbb1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news1.dtag.de!RRZ.Uni-Koeln.DE!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mail
References: <3df35be6@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,834cd3df7c1082be
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2002-12-08 16:17:09 PST
From: John McGrath  [TeamB] <ng-b@JPMcGrath.net>
Newsgroups: borland.public.jbuilder.java.api
Subject: Re: how to get Ethernet Adapter's physical Address by java.
Date: Sun, 8 Dec 2002 19:13:44 -0500
Message-ID: <MPG.185daa43b4b8e81e98bbb1@newsgroups.borland.com>
References: <3df35be6@newsgroups.borland.com>
X-Newsreader: MicroPlanet Gravity v2.60
NNTP-Posting-Host: 151.197.228.67
X-Trace: newsgroups.borland.com 1039392823 151.197.228.67 (8 Dec 2002 16:13:43 -0800)
Lines: 16
X-Authenticated-User: jpmcgrath
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news1.dtag.de!RRZ.Uni-Koeln.DE!nntp.cs.uni-magdeburg.de!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mail