Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / August 2006

Tip: Looking for answers? Try searching our database.

MAC Address

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rafael Tejera - 29 Aug 2006 21:16 GMT
How I can obtain the MAC address of the customers pc.

Somebody has an example?

I'm using C#.NET 2003

Rafael
Peter Bromberg [C# MVP] - 29 Aug 2006 22:13 GMT
You mean, Remotely? That would be very difficult. Otherwise one of the
easiest ways is to open a command prompt and type "ipconfig /all"
Peter

Signature

Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com

> How I can obtain the MAC address of the customers pc.
>
[quoted text clipped - 3 lines]
>
> Rafael
Rafael Tejera - 29 Aug 2006 22:18 GMT
I mean remotely using asp.net.

Rafael

 You mean, Remotely? That would be very difficult. Otherwise one of the
 easiest ways is to open a command prompt and type "ipconfig /all"
 Peter

 --
 Co-founder, Eggheadcafe.com developer portal:
 http://www.eggheadcafe.com
 UnBlog:
 http://petesbloggerama.blogspot.com

 "Rafael Tejera" wrote:

 > How I can obtain the MAC address of the customers pc.
 >
 > Somebody has an example?
 >
 > I'm using C#.NET 2003
 >
 >
 > Rafael
Peter Bromberg [C# MVP] - 30 Aug 2006 02:24 GMT
OK,
You could probably do it remotely using WMI assuming you had the requisite
Administrator privileges on the remote machine, but if you are attempting to
do this from a web page loaded into somebody's browser, forget it - browser
security restrictions prevent access to the client machine, filesystem, etc.

Why do you need to get a remote user's MAC Adress anyway? If it's for some
sort of identification or license validation, I'd recommend against it. It's
very easy to change the MAC address on your machine - there are a number of
freeware utilities for doing this. In other words, what's the end goal here?
Perhaps there is a workaround.
Peter

Signature

Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com

> I mean remotely using asp.net.
>
[quoted text clipped - 20 lines]
>   >
>   > Rafael
Rafael Tejera - 30 Aug 2006 14:07 GMT
I need to validate the users to know in which sites they are. I had put that they can select the sites, and its been a problem, they always are making mistakes and I'm searching a way to make the decision by the application.

It is a C# asp.net application.

Other problem is that the sites connect to a internet and from there they connect to the application. These sites don't have an static ip address.

Rafael

 OK,
 You could probably do it remotely using WMI assuming you had the requisite
 Administrator privileges on the remote machine, but if you are attempting to
 do this from a web page loaded into somebody's browser, forget it - browser
 security restrictions prevent access to the client machine, filesystem, etc.

 Why do you need to get a remote user's MAC Adress anyway? If it's for some
 sort of identification or license validation, I'd recommend against it. It's
 very easy to change the MAC address on your machine - there are a number of
 freeware utilities for doing this. In other words, what's the end goal here?
 Perhaps there is a workaround.
 Peter

 --
 Co-founder, Eggheadcafe.com developer portal:
 http://www.eggheadcafe.com
 UnBlog:
 http://petesbloggerama.blogspot.com

 "Rafael Tejera" wrote:

 > I mean remotely using asp.net.
 >
 >
 > Rafael
 >
 >   "Peter Bromberg [C# MVP]" <pbromberg@yahoo.nospammin.com> wrote in message news:E1B2689E-7993-4727-BB47-8F6F667F94D6@microsoft.com...
 >   You mean, Remotely? That would be very difficult. Otherwise one of the
 >   easiest ways is to open a command prompt and type "ipconfig /all"
 >   Peter
 >
 >   --
 >   Co-founder, Eggheadcafe.com developer portal:
 >   http://www.eggheadcafe.com
 >   UnBlog:
 >   http://petesbloggerama.blogspot.com
 >
 >
 >
 >
 >   "Rafael Tejera" wrote:
 >
 >   > How I can obtain the MAC address of the customers pc.
 >   >
 >   > Somebody has an example?
 >   >
 >   > I'm using C#.NET 2003
 >   >
 >   >
 >   > Rafael

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.