Background
I'm trying to get obtain a unique identifier out of a computer and want to be able to reliably return the same MAC address each time. Trust me I have my reasons for using MAC address and have read many posts about alternate unique id methods (and yes i've considered if they don't have any network cards).
Problem
The prob...
The PhysicalAddress (used for MAC addresses) class supports variable-length byte arrays. As far as I know MAC addresses are always 48-bit long.
Is there a reason why the PhysicalAddress allows any lenghts?
...
I have some code that listens for "announcements" via UDP multicast. I can get the IP address of the sender, but what I really need is the MAC address of the sender (since the IP address can and will change).
Is there an easy way to do this in Python?
A code snippet is included for reference, but likely unnecessary.
sock = socket.sock...
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.
...
I am trying to create scripts/services that allow for waking PCs in a windows domain via WOL. Now i want to give the user the option to select an AD container as a starting point for the waking of PCs contained within. My initial thought is using DHCP as a repository to query for MAC addresses given the hostnames (which i can easily enou...
Is there a way to get a list of all SSID's and their mac address of reachable signals in my area?
I tried the Nativ WlanApi in my c# code. What I get is the list of all ssid's, but for
getting their mac address, I don't have any idea.
This is the code I using for getting the list:
private void show_all_ssids_Click(object sender, Eve...
I want to get the mac address of the bluetooth device on the pc my application is running on.
I have tried the following:
private void GetMacAddress()
{
string macAddresses = "";
foreach (NetworkInterface nic in NetworkInterface.GetAllNetworkInterfaces())
{
if (nic.OperationalStatus == OperationalStatus.Up)
...
How do I write the MAC address ff:ff:ff:ff:ff:ff as a char[] in C?
Do I just do char macaddress[6] = "%0xFF%0xFF%0xFF%0xFF%0xFF%0xFF";
I'm not sure. Thanks!
...
How do I get the MAC address of a remote host on my LAN? I'm using Python and Linux.
...
I've heard it's not possible with my current library of winpcap.
Is this really true? I see lots of examples on the net but then comments saying "This doesn't work".
What's the best way to get a MAC address of the local machine?
...
I know, that this question was created many times, but it is stil open
The problem is following:
My application need to generate some UID for computer, it working on.
I need it to implement the genuine protection.
MAC address is a good candidate, because it is unique for each ethernet card.
Many articles uses either GetAdaptersInfo, ...
Hi. There is a Windows program which is downloaded after entering a valid serial in a web page. Now, I want to limit the user to install the program only on one single PC, the one he or she installed for the first time.
I need some advice on creating a such system. Thank you.
P.S. Serial key must be entered on the web page instead of t...
Is there a way to resolve the mac address off the default gateway using c#?
update im working with
var x = System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces()[0].GetIPProperties().GatewayAddresses;
but I feel like I'm missing something.
...
In other words, is there an ID for each and every mobile phone--that makes it different.
No two phones can have the same ID. (I'm talking about smartphones ...android, iphone, etc)
...
Hi,
i am new on iPhone development. I want to integrate wake on lan into my app without squeezing my users to enter the computers mac adress when the ip is already known.
I googled for about some hours, take the source code of apples arp tool but i don't know howto manage this on iPhone.
I am grateful for any help.
Thanks!
anthonyvage
...
Hi , in our Network bandwith assign to mac address and if you can get more than one , you can get more bandwith :)
if there any application or class in C# that can do this ....
I'm already have the http proxy or port maper to send packets in different ip addresses but because of they are use same mac address it won't work .
Any help i...
I'm developing a home security application. One thing I'd like to do is automatically turn it off and on based on whether or not I'm at home. I have a phone with Wifi that automatically connects to my network when I'm home.
The phone connects and gets its address via DHCP. While I could configure it to use a static IP, I'd rather n...
Is there a way to retrieve system information like MAC Address, computer name, etc. from the host PC using jQuery?
...
Hi, folks
Recently,I need run my winforms App on mono for windows platform,But i am using WMI to get MAC address and CPU ID in my original code,switch to Mono for Windows,it does not working.
I found that "System.Management.dll" APIs is not implemented in Mono.
How can i do?How to get CPU ID,MAC Address, Hard Disk Serial Number,and Mot...
Hi all,
Does anybody know if there is a way to get the sender's MAC address from an HTTPServletRequest in Jetty? (Note: by sender, I mean immediate sender aka the last hop before my server). If there isn't a direct way, does anybody know a way to translate an IP address to a MAC address in Java?
Other note: I completely realize th...