Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get ethernet card physical address
Message
From
13/05/1998 11:06:39
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00098661
Message ID:
00099052
Views:
32
>>>>How can I get ethernet card physical id on a LAN (local and remote)? At least win95 and NETBEUI will be in use. TIA.
>>>>Cetin
>>>
>>>The Workstation parameter or something similar in Netware returns this. You could pass this information to an environment variable in the script and read it form your application with getenv().
>>>
>>>Another alternative is to copy this number in the Station variable in the network setting of Windows 95 and read it from sys(0).
>>>
>>>HTH, somehow not sure though ... :)
>>>
>>>Marc
>>Marc,
>>Sorry but I don't want for netware and that is not physical id. I mean the unique 8 bytes id of card. I can have it in netware via novell calls (16 bit). My problem is to do the same in VFP and netbeui,nwlink ipx/spx. VFP no more supports load binfile, call binfile.
>>Thanks
>>Cetin
>
>I believe you can query the registry to get the NIC ID, probably somewhere under HKEY_LOCAL_MACHINE\Enum\Network; sorry I can't be more specific, but I'm just back home after unscheduled surgery, and don't have full access to a machine on my network or one of my development machines here at home with my registry reference stuff on it. Looks like no DevCon for me this year...
Yes but I can't find it in registry. If you find pls inform me. Secondly this would only have local card address ? I also want to collect others online when I login with admin rights. It was possible in FP 2.x and novell, should be in win* + NETBEUI.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform