Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB How-To
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 9th, 2004, 12:32 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 463
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to madhukp
Default Integrating a serial number

I am developing a VB application which the client wants to distribute to many persons. They want to have some restrictions for the distribution of it. The application is meant for individual PCs and is said to be very cheap also.

They want each of their client to purchase new copies of this application. One client can re-install it on their m/c, if they want, without any problem.

They want the authentication mechanism to be secure. It should not be possible for one person to install the application purchased by another person.

They are going to host a web-site for the distribution of this product.

I suggested putting an internet based registration for the application. We can give a key for each new distribution so that only one application can be permitted using one key.

However the client does not seem to be impressed with this. (The application as such does not need Internet connection). They say there is a unique number is associated with each computer just like IMEI number of mobile number. They say this number has to be checked and authentication should be done. However, I could not find such a number for a computer.

My doubt is, is there a unique number for each computer ? If yes, how can I get it using VB 6.0 ?

Is there any other way in which I can authenticate and prevent mis-use of application ?

Any idea for this will be highly appreciated.

Thanks for your time.

Madhu
 
Old October 11th, 2004, 05:14 AM
Authorized User
 
Join Date: Oct 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to VBM2
Default

Hi Madhu,

One option that you should perhaps consider is to buy a copy of a custom control called SoftLocx by Bitarts (http://www.bitarts.com) which I believe can generate serial keys and generate unlock keys as well. From what I've heard it has a lot of functionality but I think can be costly to initially buy. I guess it is an option though!

Kind regards,

Craig
 
Old October 29th, 2004, 08:06 PM
Registered User
 
Join Date: Oct 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This looks like a good use for "Environ({envstring | number})"

pcNr = Environ("HOSTNAME")

will return the network machine name of the computer, which should be unique within the network.

 
Old October 30th, 2004, 03:31 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 463
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to madhukp
Default

Thanks for all the responses. Sorry for the delay. I was doing various types of feasibility checks in this direction.

I got a code to read the hard disk serial number using VB. The link is :

http://www.vbgold.com/vb-projects/di...l-number.shtml

Here is another link which says how to do authorisation using serial number.

http://www.vb-helper.com/howto_register_product.html

Thanks once again for all the responses.
 
Old March 22nd, 2005, 09:15 AM
Registered User
 
Join Date: Mar 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dear Madhukp,

I would like to know if these codes will run 100% with VB.net?

Which other tips and links about piracy protection can you post here?

See U,

Paulo CASSIANO.

Paulo CASSIANO.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard Disk Serial Number Asmatullah VB.NET 2002/2003 Basics 1 December 18th, 2007 04:26 PM
Serial Number of the Hard Disk ivanlaw Assembly Language 0 July 15th, 2007 10:15 PM
Serial Number with each table row ketannsharma Access 3 March 16th, 2007 06:44 AM
Hard disk serial number alexjiju VS.NET 2002/2003 1 February 3rd, 2007 02:50 PM
Serial number Ned SQL Server 2000 6 November 6th, 2003 05:55 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.