Skip to main content

All Questions

Tagged with
1 vote
1 answer
2k views

How can I retrieve the MAC address on Android 11 and newer versions?

I am trying to retrieve the list of devices connected to my router (Internet service provider) along with their MAC addresses. I was able to obtain the MAC address using the NetworkInterface class for ...
HaSel's user avatar
  • 11
1 vote
1 answer
1k views

Flutter/Dart : How to get MAC Address devices on the local network

So as the title suggests, I am trying to gather MAC Addresses from connected devices on my local network. Any idea on how I can achieve this would be helpful! This is what I have made so far to find ...
Panos_42's user avatar
0 votes
1 answer
846 views

How to find the connected WIFI MacAddress in Android 9 Programmatically?

Android documentation reference MAC addresses are globally unique, not user-resettable, and survive factory resets. For these reasons, to protect user privacy, on Android versions 6 and higher, ...
Shoaib Kakal's user avatar
  • 1,256
0 votes
1 answer
320 views

How to Access Wifi MacAddress on latest Android devices Programmatically?

I was looking for the attributes which make a wifi Access point unique from others so macAddress is one. Now i'm trying to find the macAddress of connected wifi. I'm following this article which works ...
Shoaib Kakal's user avatar
  • 1,256
0 votes
2 answers
267 views

How to restrict website accessing, if user is on remote device and not on a work computer? (work time tracker app)

I would like to make a PHP website, where employees can log in/out themselves and these logs will count as a time when they started and ended their working day. I would like to allow them to do that ...
Kida's user avatar
  • 800
23 votes
3 answers
11k views

Why do we need MAC addresses when you have local IP addresses

From what I understood, MAC addresses are physical addresses only used in LAN to identify a device. However, local IP addresses can also identify a device on a local network as it is unique. So why do ...
Segfolt's user avatar
  • 298
0 votes
0 answers
452 views

MAC addresses in TypeScript

I have a function that loops through available ip addresses on a router and returns the ones that have a defined port open (puts them in an array). Is there a way I could get the mac addresses of the ...
user avatar
1 vote
2 answers
974 views

How to get IP and MAC addresses of the adapter that connects to the Internet?

when using System.Net.Dns.GetHostAddresses(System.Net.Dns.GetHostName())to get IP addresses and private System.Net.NetworkInformation.PhysicalAddress GetMacAddress() { foreach (System....
jstuardo's user avatar
  • 4,423
4 votes
0 answers
3k views

arp -s returning The ARP entry addition failed: Access is denied Win10

I am on windows 10, adding a static address with cmd arp -s 192.168.1.1 xx-xx-xx-xx-xx-xx It returns The ARP entry addition failed: Access is denied. I am running on administrator
jxefff422's user avatar
2 votes
1 answer
2k views

How to use ifconfig to show active interface(s) only and display interface name, MAC address & IP address only

How can I use ifconfig to show active interface(s) only and display interface name, MAC address & IP address only. In my scenario, I could have more than one interface. For example: eth0 ...
user3769527's user avatar
0 votes
1 answer
867 views

get local hostname from ip adress i.e. 192.168.1.x python 3 on windows 10

currently using:- import socket hostip='192.168.1.62' getip=socket.getaddrinfo(hostip,port=22) returns info but does not include Hostname. seems to be a local DNS problem from other discussions. ...
M Newton's user avatar
0 votes
1 answer
33 views

Find the IP of an internet host using its MAC adress only

I would like to avoid VPN for permanent connection to a remote host, I would like to replace the static IP address with the MAC address, and using the MAC to find the IP.
Hamdim's user avatar
  • 21
1 vote
4 answers
536 views

Use "arp -a" to retreive MAC address of corresponding IP Adress

I was trying to convert the MAC address of my phone to it's IP address. var arpStream = ExecuteCommandLine("arp", "-a"); List<string> result = new List<string>(); while (!arpStream....
Rahul Desai's user avatar
2 votes
1 answer
2k views

Why only MAC address is used to transfer the packet to a device?

I am sorry if its basics, but I did not find the appealing answer for it over the Internet. Why only MAC is used to transfer the packet to a device ? MAC address is only obtained by ARP for a specific ...
Himanshu Poddar's user avatar
4 votes
1 answer
4k views

How to get current used network adapter

Now I am trying to get network adapter in use among of several network adapters on my machine so that I can get ip address, mac address and adapter name of the network adapter. But I am not having any ...
JS Guru's user avatar
  • 373

15 30 50 per page
1
2 3 4 5 6