is it possible??

M

micky

i used wmi to get user's hdd serial number
so i write code like this

protected void Page_Load(object sender, EventArgs e)
{
HardSerialNumber hdd = new HardSerialNumber();
string hddSerial = hdd.GetHardSerialNumber();
HddSerialTextBox.Text = hddSerial;
}

first , i think it is right.
but it's not.

it red hdd serial number of server machine,.,,,lol

how can i solve this..i have to read hdd serial number of users that connect
my webpage.

thank you!
 
K

Karl Seguin

The aspx code runs on hte server machine - it's quite disconnected from the
client. You need to run your code on the client, which means they'll either
have to download and install something, run an activex component or a java
applet.
 
G

Guest

Hi Dear micky

First of all, you cannot get any identifying info of the client machine from
ASP.NET

you could use the client IP, but most ppl that visit your site won't have a
static IP, and those visitors behind a proxy will share an IP for several
client machines.

you could put an active-X control on the page, and require users's to run it
and accept all security warnings before using your service. use this active-X
to get info such as hard drive sn, or mac address, or store some registry
key, or hidden file, etc.

Since you might have the previleges on your system(s) or networks (
server(s) ), you could read.

Just imagine, Anybody for that matter get the priveleges, they will read
entire hard disk copy, alter data / files...etc. or even format the hard disk

Bye
Venkat_KL
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,156
Latest member
KetoBurnSupplement
Top