EzDevInfo.com

mac-address interview questions

Top mac-address frequently asked interview questions

Reliable method to get machine's MAC address in C#

I need a way to get a machine's MAC address regardless of the OS it is running using C#. Application will need to work on XP/Vista/Win7 32 and 64 bit as well as on those OSs but with a foreign language default. Many of the C# commands and OS queries don't work across OS. Any ideas? I have been scraping the output of "ipconfig /all" but this is terribly unreliable as the output format differs on every machine.

Thanks


Source: (StackOverflow)

Programmatically getting the MAC of an Android device

I need to obtain the MAC address of my android device using Java. I've searched online, but I haven't found anything useful.


Source: (StackOverflow)

Advertisements

How to get client MAC address by a access on a website?

I have my website, and it records the number of visitors, IP and time of access...

I want to identify each visitor... I think that this was possible recording IP Address... but when the IP is dynamic, my system fails. So I think that I can solve it recording MAC address... is possible? What language should use? PHP, ASP, Javascript?

Thanks

Edit: What I can use to identify each user without having login information (username & pwd).


Source: (StackOverflow)

Setting a VM's mac address in Vagrant

The documentation lists that the mac address of a VM can be set in the Vagrantfile, however everything I add seems to end up being a syntax error. Anyone successfully done this?


Source: (StackOverflow)

Get MAC Address of android device without Wifi

How do I get the MAC-Address of the network interface of an android device which doesn't have a Wifi-Interface (e.g. the android emulator)? WifiInfo obtained via the WifiManager returns null.

EDIT

To be more clear: I have to communicate with an existing network protocol (not designed by me) on the local network where I have to send the mac address of the communicating interface within the payload during a registration phase.


Source: (StackOverflow)

How can I get a MAC address from an HTTP request?

Can someone give me some pointers on picking up the user's MAC address from an HTTP request?

The users will be from outside my network.


Source: (StackOverflow)

Getting MAC address in Android 6.0

I'm developing an app that gets the MAC address of the device, but since Android 6.0 my code doesn't work, giving me an incorrect value.

Here's my code...

    public String ObtenMAC()
{
    WifiManager manager = (WifiManager) getSystemService(Context.WIFI_SERVICE);
    WifiInfo info = manager.getConnectionInfo();

    return(info.getMacAddress().toUpperCase());
}

Instead of the real MAC address, it returns an strange code: "02:00:00:00:00:00".

Can anybody help me to solve it?.

Thanks in advance.


Source: (StackOverflow)

iOS: UDID deprecated... MAC address?

As we know Apple is deprecating developers' access to UDID. But to my knowledge it is possible to get an iDevice's MAC address. So what's the difference then? Both MAC address and UDID are unique identifier of a hardware, which is not app specific.


Source: (StackOverflow)

How can I get the MAC and the IP address of a connected client in PHP?

I need to know the MAC and the IP address of the connect clients, how can I do this in PHP?


Source: (StackOverflow)

Obtain MAC Address from Devices using Python

I'm looking for a way (with python) to obtain the layer II address from a device on my local network. Layer III addresses are known.

The goal is to build a script that will poll a databases of IP addresses on regular intervals ensuring that the mac addresses have not changed and if they have, email alerts to myself.


Source: (StackOverflow)

How can I programmatically get the MAC address of an iphone

Does anyone know how to programmatically get an iPhone's MAC address and IP address?


Source: (StackOverflow)

MAC addresses in JavaScript

I know that we can get the MAC address of a user via IE (ActiveX objects).

Is there a way to do the same thing in all browsers? (Especially since FF is gaining browser share everyday!)


Source: (StackOverflow)

Get MAC Address from adb of USB phone

can you help me to retrieve from adb the bluetooth MAC Address of my Galaxy S3 connected by USB port? My devices is rooted :)

Best Regards.


Source: (StackOverflow)

How to get iOS device MAC address programmatically

How do I get an iOS device's MAC code programmatically in my app?


Source: (StackOverflow)

Can I fetch a unique server machine identifier with node.js?

I would like to know if there is a way of having NODE retrieve the MAC address(es) of the server on which it is running.


Source: (StackOverflow)