473,406 Members | 2,371 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,406 software developers and data experts.

Serial Keys

I am looking for some info on serial keys.

We have developed an application for use inside the company and I would like
to add some kind of key so if someone copies to this program to unauthorized
computer it will not run. I realize that any key can be cracked, but this
is just to prevent an average user from copying this program.

A scenario where user would have to send an ID or some serial number and IT
department would return a Key would work. Are there any examples of this in
C#, or does anyone has any other ideas?
Thanks
Peter

Feb 2 '06 #1
1 1612
In the past I've generated a hash of the hard drives serial number along
with the netbios name of the machine. Then break the hash into 4 sets of
characters to read to the user. This works "fairly" well and ensures the
keys are on a per-machine basis and that keys can't be passed around.
Again - for simple users this is fine but I wouldn't recommend this for an
application with wide distribution.

Brian Patterson
http://dotnet.redeyepos.com
http://brian.redeyepos.com

"Peter" <pc*****@nospam.nospam> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
I am looking for some info on serial keys.

We have developed an application for use inside the company and I would
like to add some kind of key so if someone copies to this program to
unauthorized computer it will not run. I realize that any key can be
cracked, but this is just to prevent an average user from copying this
program.

A scenario where user would have to send an ID or some serial number and
IT department would return a Key would work. Are there any examples of
this in C#, or does anyone has any other ideas?
Thanks
Peter

Feb 2 '06 #2

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

Similar topics

10
by: Conrad | last post by:
Greetings, I have a need to print from Win98SE to a little serial label printer provided by United Parcel, so based on Mark Hammond's recommendation in 'Programming on Win32' I decided to try...
79
by: Klaus Bonadt | last post by:
In order to protect software from being copied without licence, I would like to use something like a key, which fits only to the current system. The serial number of the CPU or the current...
1
by: sandeep Kanwal | last post by:
Hi, I don't know if this is the right forum for this.. but let me know the right forum also if this one is wrong...I have written a small software utility which I am ready to sell now. I want to...
8
by: collinm | last post by:
hi we use linux and c language under bash i do echo -e \\000\\000\\000\\000\000\\001Z00\\002AA LINUX \\004 >/dev/ttyS2 that send command to a led display (alpha sign communication)
0
by: Andreas Håkansson | last post by:
Hiya, I'm trying to look into creating a serial-key format for some future work and I would like to get some hintes, tips, suggestions and idea on how to do this kind of stuff. I have a...
4
by: leovg | last post by:
Can I access the serial port (RS232) out of an ASP.NET 2.0 client form? We are planning a barcode application where a barcode scanner delivers input to an ASP.NET form via RS232.
6
by: Tom Allison | last post by:
Can I use the serial data type in lieu of an 'auto_number' field? I asked something like this some months ago and it seems that auto_number fields were addressed through a combination of triggers...
6
by: eros | last post by:
-- Table: public.customers CREATE TABLE public.customers ( customercd serial NOT NULL, pass char(32) NOT NULL, lnamek varchar(20) NOT NULL, fnamek varchar(20) NOT...
3
by: Blip | last post by:
Hello - I'm trying to wite these control characters to the serial port w/o success. I've tried sp.Write((Keys.ControlKey & Keys.X).ToString()); sp.Write((Keys.Control & Keys.X).ToString()); ...
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: 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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.