Obtaining Server' Ethernet Card Mac Address

P

Peggy

Hello,

I have a web application running on IIS,

What I wanna do is to obtain server's ethernet card's mac address in order
to use this address for licensing issues

I have developed my web app on

vs.net 2005 +
sql server 2005 +
SBS Server +
IIS 6.0 +

My web app can obtain this address ?

Any idea?

Thanks
 
T

Tom Porterfield

B

Brandon McCombs

Peggy said:
Hello,

I have a web application running on IIS,

What I wanna do is to obtain server's ethernet card's mac address in order
to use this address for licensing issues

I have developed my web app on

vs.net 2005 +
sql server 2005 +
SBS Server +
IIS 6.0 +

My web app can obtain this address ?

Any idea?

Thanks

Ah, another annoying method of licensing a product which only annoys the
legitimate users (if a NIC fails they now have a software licensing
problem to fix, great) and does nothing to thwart the people who really
want to use the app for free. Being new to C# I have to ask, does C#
really query the NIC to get the MAC address or does it just blindly
accept whatever the OS tells it? I ask since it is possible to change a
MAC address thus making MAC addressing for licensing basically useless
it seems.

Someone who has licensed it properly can publish the licensing
information (including their MAC) and someone else can set their NIC to
use that MAC and reuse the license.
 
P

Peggy

They can do that if they know I use NIC's Mac Address for licensing,

If they dont know ?

When Installing, I will take MAC address, Hash it properly in my way, and
put in a table's field, Nobody will know the truth, Just me and God

:)
 
M

macleod

That's an interesting idea :) Don't forget to take into account the
possibility of multiple NIC's. Also, what about if they have a card go bad?
Don't get me wrong...I think it's a good idea :), but there's always the
chance of someone figuring out your method and passing the knowledge around.

And since we now know about this, are you calling us "me" or "God"???? :)
 
P

Peter Duniho

They can do that if they know I use NIC's Mac Address for licensing,

If they dont know ?

When Installing, I will take MAC address, Hash it properly in my way, and
put in a table's field, Nobody will know the truth, Just me and God

How does that prevent the user from figuring out that you've used the MAC
address for licensing? All that prevents is them seeing the MAC address
where you've stored it. Some simple black-box testing will easily reveal
your use of the MAC address as a licensing scheme.

IMHO, Brandon's comments are right on the money. There is no need to use
the MAC address for a simple anti-piracy licensing scheme, and any
complicated anti-piracy licensing scheme, whether it uses the MAC address
or not, is very likely to do more to interfere with your own licensed
customers than it will to stop people who would not be stopped by a
simpler, more user-friendly scheme.

I understand the temptation to use copy-protection in your application,
but _any_ copy protection runs the risk of hurting your legitimate users,
and the more complicated the copy protection, the more likely they are
going to run into serious problems. Since there is _no_ copy protection
that will interfere with someone serious about pirating your software, it
stands to reason that the more complicated the copy protection, the less
likely you will have fairly balanced the needs of your customers with your
own interests.

Microsoft can get away with this sort of crap (see, "Product Activation),
because so many of their customers don't have a choice. Even they see a
certain amount of lost sales as a result. For whatever you're working on,
I doubt you have the sort of market clout that Microsoft has, and it will
be much easier for your customers to just give up and stop buying your
sofware.

So, if the question of how you treat your customers doesn't sway you, you
should at least consider what the total economic effect on you will be.

Pete
 

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

Top