473,466 Members | 1,334 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Determine Client's MAC Address?

Does anyone know how to determine the client's MAC address from
within ASP.Net? I suppose it would have to be java or vb script running
on the browser, but I haven't been able to find an example...

Thanks,
---Selden McCabe
Nov 18 '05 #1
4 9412
This information is secured to protect user's privacy.
Therefore you'd need a thick client running on the user's machine to be able
to get at this information.
Such a client program would likely need to be created with a .NET language
such as VB.NET or C#.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
Hire top-notch developers at http://www.able-consulting.com

"Selden McCabe" <se*****@msn.com> wrote in message
news:Oh**************@TK2MSFTNGP10.phx.gbl...
Does anyone know how to determine the client's MAC address from
within ASP.Net? I suppose it would have to be java or vb script running
on the browser, but I haven't been able to find an example...

Thanks,
---Selden McCabe

Nov 18 '05 #2
"Selden McCabe" <se*****@msn.com> wrote in message
news:Oh**************@TK2MSFTNGP10.phx.gbl...
Does anyone know how to determine the client's MAC address from
within ASP.Net? I suppose it would have to be java or vb script running
on the browser, but I haven't been able to find an example...


This information would only be available if your ASP.NET server were on the
same subnet as the client. It would then be valuable until the user swaps
NIC cards or motherboards.
--
John Saunders
John.Saunders at SurfControl.com
Nov 18 '05 #3
That's OK, becuase it's for a college to register various user's laptops.
They want me to create a web page for the users to "register" their laptops
with the network administrator. The user fills in things like name,
address,
email, and they would like the web page to get the Mac address
automatically...

Would that be possible? And if not, how about the IP address?
I remember reading somewhere about some sort of service that
could (maybe) get the mac address from the IP...

---Selden
Nov 18 '05 #4
If the MAC address is on the laptop, then you need to get it from the
laptop. It's not the network's job to pass the MAC address to you.

The IP address might be worthless. It might change every time they connect
to the network.

If I were you, I'd back off and go determine exactly what pieces of data are
meant to be "registered", then figure out how the client could get that
information. The last step would be getting the information from the client
to the server.
--
John Saunders
John.Saunders at SurfControl.com
--
John Saunders
John.Saunders at SurfControl.com

"Selden McCabe" <se*****@msn.com> wrote in message
news:uF**************@TK2MSFTNGP10.phx.gbl...
That's OK, becuase it's for a college to register various user's laptops.
They want me to create a web page for the users to "register" their laptops with the network administrator. The user fills in things like name,
address,
email, and they would like the web page to get the Mac address
automatically...

Would that be possible? And if not, how about the IP address?
I remember reading somewhere about some sort of service that
could (maybe) get the mac address from the IP...

---Selden

Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: S | last post by:
Hi- Years ago I used to visit an ENV test page that could display my IP address using JavaScript alone if I was using an ANON proxy. I'm trying to find that code to use as part of a 'privacy...
3
by: lucpustjens | last post by:
Hello, I want te determine the client operating system, because I need to kno the default cookie directory. If there is a way to determine the cooki directory directly, than it is also good. ...
88
by: Mike | last post by:
Is there a way to determine what a user's default email client is? I read a post from 3 years ago that said no. I guess I'm hoping something has come along since then.
2
by: Michael SL | last post by:
When a client requests to leave a Web Page, I want the web page to check for a certain condition. If that condition is met, I want to prompt the user to make sure they want to leave The method I...
2
by: Cliff Cavin | last post by:
Is there any quick and simple way to determine the IP Address of a client, from withing and ASP.NET web page? Thanks,,, Cliff
4
by: Goh | last post by:
Hi, I would like to know how can we implement a web page that intelligent enough to unique identify that pc have been visit before without any cookies and login user require. I have try...
2
by: WhatHappend | last post by:
I have converted a .Net 1.0 application to .Net 2.0 and the web service invocations have delay of around 10seconds on each intial access. After the first access subsequent access are fast (After a...
7
by: semedao | last post by:
Hi all, I view many posts about this issue , the connected property does not tell us the current status of the socket. based on couple of suggestions of msdn , and some article here , I try to...
2
by: Trmbne2000 | last post by:
Hi, I'm developing a service provider listing service. Part of the specification is to have both an address and a 'seasonal address' for each listing. The database stores the start and end months...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.