最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
获得客房端的MAC(Media Access Control)地址
时间:2022-06-30 09:54:48 编辑:袖梨 来源:一聚教程网
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 will be an issue depending what side of
them you'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 was 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 you'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 will be an 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, you can navigate
To it from another pc on the same lan (it does
Not like 127.0.0.1)
'
'Side Effects:None
'
'Warranty:
'code provided by Planet Source Code(tm)
node of a network. Works great on LAN's. Firewalls and Proxy's will be an issue depending what side of
them you'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 was 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 you'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 will be an 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, you can navigate
To it from another pc on the same lan (it does
Not like 127.0.0.1)
'
'Side Effects:None
'
'Warranty:
'code provided by Planet Source Code(tm)
相关文章
- 以下哪种非遗技艺是用针在纸上绣画 蚂蚁新村11月21日答案 11-22
- 江南百景图听风塔怎么样 11-22
- 原神恰斯卡圣遗物怎么搭配 11-22
- 2024年霸王茶姬11月22日口令是什么 2024.11.22霸王茶姬口令介绍 11-22
- 光遇11.21季节蜡烛在哪里 光遇11月21日季节蜡烛位置攻略 11-22
- 光遇11.21大蜡烛在哪里 光遇11月21日大蜡烛位置攻略 11-22