473,378 Members | 1,680 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,378 software developers and data experts.

is it possible??

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!
Dec 6 '05 #1
2 990
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.

--

MY ASP.Net tutorials
http://www.openmymind.net/

"micky" <so**********@gmail.com> wrote in message
news:u6****************@TK2MSFTNGP15.phx.gbl...
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!

Dec 6 '05 #2
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
Dec 6 '05 #3

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

Similar topics

4
by: Julia Briggs | last post by:
I am struggling to create a PHP function that would take a specified image (JPG, GIF or PNG) from a link, and resize it down to a thumbnail so it will always fit in a 200x250 space. I am hoping...
36
by: rbt | last post by:
Say I have a list that has 3 letters in it: I want to print all the possible 4 digit combinations of those 3 letters: 4^3 = 64 aaaa
20
by: CHIN | last post by:
Hi all.. here s my problem ( maybe some of you saw me on other groups, but i cant find the solution !! ) I have to upload a file to an external site, so, i made a .vbs file , that logins to...
7
by: Andrzej | last post by:
Is it possible to call a function which name is given by a string? Let assume that I created a program which call some functions for example void f1(void), void f2(void), void f3(void). ...
2
by: Bhupesh Naik | last post by:
This is a query regarding my problem to make a spell and grammar check possible in text area of a web page. We have aspx pages which are used to construct letters. The browser based screens...
1
by: AAA | last post by:
hi, I'll explain fastly the program that i'm doing.. the computer asks me to enter the cardinal of a set X ( called "dimX" type integer)where X is a table of one dimension and then to fill it...
25
by: Piotr Nowak | last post by:
Hi, Say i have a server process which listens for some changes in database. When a change occurs i want to refresh my page in browser by notyfinig it. I do not want to refresh my page i.e....
4
by: RSH | last post by:
Okay my math skills aren't waht they used to be... With that being said what Im trying to do is create a matrix that given x number of columns, and y number of possible values i want to generate...
7
by: Robert S. | last post by:
Searching some time now for documents on this but still did not find anything about it: Is it possible to replace the entry screen of MS Office Access 2007 - that one presenting that default...
14
by: bjorklund.emil | last post by:
Hello pythonistas. I'm a newbie to pretty much both programming and Python. I have a task that involves writing a test script for every possible combination of preference settings for a software...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...

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.