Get Mac (Media Access Control) address at the guest room end

Source: Internet
Author: User
Get the Clients MAC [Media Access Control] address, a hardware address so uniquely identifies each
node of a network. Works great on LAN ' s. Firewalls and Proxy ' s'll be a issue depending what side of
them ' re coding for.

Can ' t Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
'**************************************
' For:mac address
'**************************************
This code is as is! I had a need for it on a
Project I is working on and found almost no info
Anywhere on what I needed to accomplish. If it
Helps you, great! If it does not work for you:
1.Make sure ' re not trying to hit on the same
PC it ' s on.
2.Comment out where the file gets deleted
(Fso.deletefile "C:" & StrIP & "TXT"), to view
Some potential Error info.
3.Have Fun Debugging:) (I did)
Code
Can ' t Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
'**************************************
' Name:mac address
' Description:get the Clients MAC (Media
' Access control '
Address, a hardware address that uniquely
Identifies each node of a network. Works great on
LAN ' s. Firewalls and Proxy ' s'll be a issue
Depending what side of them you ' re coding for.
' By:jerry Aguilar
'
'
' Inputs:none
'
' Returns:returns the client IP and MAC
' Address.
'
' Assumes:you can ' t navigate to it Runnin
' G PWS on the same
PC but If you are running PWS, can navigate
To it from another PCs on the same LAN (it does
Not like 127.0.0.1)
'
' Side Effects:none
'
' Warranty:
' Code provided by Planet Source Code (TM)
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.