473,387 Members | 1,517 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Getting MAC Address using ASP

Hi Friends,

It it possible to get the MAC Address of the client PC using ASP. Also can I
get the HDD ID/Serial Number also using asp? Please advice.

Thanks
Prabhat

Jun 3 '06 #1
6 10723
Hello,

ASP is a server side scripting technology, and the code is executed on the
server. To get the HDD ID/Serial number of the client, you would be
required to execute something on the client, because the client does not
send this information onto the network.

So the answer is, no, it is not possible to use ASP to get the HDD
ID/Serial number from the client.
--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info
Prabhat wrote:
Hi Friends,

It it possible to get the MAC Address of the client PC using ASP. Also can
I
get the HDD ID/Serial Number also using asp? Please advice.

Thanks
Prabhat

Jun 3 '06 #2
"Kristofer Gafvert" wrote
Hello,

ASP is a server side scripting technology, and the code is executed on the
server. To get the HDD ID/Serial number of the client, you would be
required to execute something on the client, because the client does not
send this information onto the network.

So the answer is, no, it is not possible to use ASP to get the HDD
ID/Serial number from the client.

Hello! Thanks for the info? Can you please tell me what is that "something"
that I can run on clients PC so that I can get the MAC Address and HDD
Serail No of the system. I think the user has to allow that to be executed.
We can make sure that user has to allow the code / script. Please suggest
how can I get those?

In this case can I send some executable or file or script that will execute
in clients PC to get these info. If yes please suggest how?

Thanks in advance
Prabhat
Jun 5 '06 #3
Prabhat wrote on 05 jun 2006 in microsoft.public.inetserver.asp.general:
"Kristofer Gafvert" wrote
Hello,

ASP is a server side scripting technology, and the code is executed
on the server. To get the HDD ID/Serial number of the client, you
would be required to execute something on the client, because the
client does not send this information onto the network.

So the answer is, no, it is not possible to use ASP to get the HDD
ID/Serial number from the client.

Hello! Thanks for the info? Can you please tell me what is that
"something" that I can run on clients PC so that I can get the MAC
Address and HDD Serail No of the system. I think the user has to allow
that to be executed. We can make sure that user has to allow the code
/ script. Please suggest how can I get those?

In this case can I send some executable or file or script that will
execute in clients PC to get these info. If yes please suggest how?


That is off topic, Prabhat,
because it has nothing to do with ASP server side scripting.

[And if the client user will agree, which I doubt,
why not simply ask him or her to submit those values in a form?]

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jun 5 '06 #4

"Evertjan." <ex**************@interxnl.net> wrote in message
news:Xn********************@194.109.133.242...
Prabhat wrote on 05 jun 2006 in microsoft.public.inetserver.asp.general:
"Kristofer Gafvert" wrote
Hello,

ASP is a server side scripting technology, and the code is executed
on the server. To get the HDD ID/Serial number of the client, you
would be required to execute something on the client, because the
client does not send this information onto the network.

So the answer is, no, it is not possible to use ASP to get the HDD
ID/Serial number from the client.

Hello! Thanks for the info? Can you please tell me what is that
"something" that I can run on clients PC so that I can get the MAC
Address and HDD Serail No of the system. I think the user has to allow
that to be executed. We can make sure that user has to allow the code
/ script. Please suggest how can I get those?

In this case can I send some executable or file or script that will
execute in clients PC to get these info. If yes please suggest how?


That is off topic, Prabhat,
because it has nothing to do with ASP server side scripting.

[And if the client user will agree, which I doubt,
why not simply ask him or her to submit those values in a form?]


How many user do you know that have any clue what a MAC Address is let alone
be able to provide it?
A lot of users neither know nor care what a hard disk is.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Jun 5 '06 #5
HI Evertjan,
That is off topic, Prabhat,
because it has nothing to do with ASP server side scripting.
My web pages are ASP scripts where I need the Client PC's Physical Address
(MAC Address). So I need to do that using some technique in ASP (I dont
know, but I think a Javascript / some script / some file that I need to send
to client's PC that should get the address and send back to server)
[And if the client user will agree, which I doubt,
why not simply ask him or her to submit those values in a form?]


Most of the users even dont know what is that address is. So I want to get
that using some script. Can you help me to get into the technique /
procedure / script?

Thanks
Prabhat
Jun 5 '06 #6

Prabhat wrote:
HI Evertjan,
That is off topic, Prabhat,
because it has nothing to do with ASP server side scripting.


My web pages are ASP scripts where I need the Client PC's Physical Address
(MAC Address). So I need to do that using some technique in ASP (I dont
know, but I think a Javascript / some script / some file that I need to send
to client's PC that should get the address and send back to server)


The fact that your pages are ASP scripts is irrelevant, because as has
already been pointed out, there is no technique in ASP that allows you
to do this. Therefore you need to use a different technology. Each
technology has its own newsgroup, so you are better off asking in the
appropriate group.

I don't know enough about javascript, but I doubt that it allows you to
do what you want - the people at microsoft.public.scripting.jscript can
help you more. Otherwise you will have to author your own exe file.
Pick a group that discusses the language in which you want to do this
(C/C++, VB, C#, VB.NET, Delphi....)

Whatever, your requirement is definitely off-topic in this group.

--
Mike Brind

Jun 5 '06 #7

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

Similar topics

7
by: Jane Austine | last post by:
As you add more items, say text lines, in Text widget, it gets too slow and almost impractical to use on. Take idle for example. If the text gets bigger(e.g. print...
8
by: Timo | last post by:
I am trying to get address of myStruct to a string array texts. I am using M$ Visual C++ 6.0 (this is not OS specific question, though, this code should also work on 16 bit embedded compiler ;)). ...
5
by: Greg Smith | last post by:
I have been using the following to get the client IP address: Request.ServerVariables All of a sudden it has started returning 127.0.0.1 all the time. Does anybody have any idea why this...
14
by: Ankit Aneja | last post by:
The code of classes given below is for server to which clients connect i want to get ip address of client which has connected pls help how can i get //listen class public class listen {
3
by: Adam Tibi | last post by:
Hi, Is there a way of getting the domain name of tghe currently executing site, I tried using this silly code: public static string GetDomainName() { string serverName =...
21
by: srikar | last post by:
hi all when I am running the below program #include<iostream> enum one { a=1000,b=2000,c,d,z}; int main() { one* a1;one* a2;one* a3;
1
by: simbarashe | last post by:
Hie could someone please help me with getting and using the current page url. I have a function that gets the url, I want to use it with header(location : XXX) but it wont work. The code is as...
0
kaleeswaran
by: kaleeswaran | last post by:
hi! currently i am doing registration form... i like to getting an ip address from the respective system i mean where the user using my application form, the respective system ip address...
0
kaleeswaran
by: kaleeswaran | last post by:
hi!!! i was getting ip address of my local machine in my network using jsp. can i get all of my local machine address which is connected in the network...? if so give me some idea about...
2
by: rustyc | last post by:
Well, here's my first post in this forum (other than saying 'HI' over in the hi forum ;-) As I said over there: ... for a little side project at home, I'm writing a ham radio web site in...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.