Rajaram Shelar
Rajaram Shelar

Reputation: 7877

How can I make desktop application for single user?

I have created one of the software for one organization. But there is also threat of software piracy. I want to be keep(install) this on only one computer.As per my perception i will be creating web service which will invoked at the time of installation and will collect the system info and restrict further processing if it is already exists in the database. This is my assumption and thought that i would go through, Is there any other way to achieve this or is there built in functionality to overcome this.

Any responses are appreciable.

Thanks

Upvotes: 0

Views: 1247

Answers (2)

Alex
Alex

Reputation: 6149

The best way i can see for achieving this would be to create a key in the registry in the current user.

A sample code to do this would be:

Microsoft.Win32.RegistryKey key;
key = Microsoft.Win32.Registry.CurrentUser.CreateSubKey("Names");
key.SetValue("Name", "Isabella");
key.Close();

P.S. You should encrypt your key value or else it would be very easily hacked.

Upvotes: 1

Murtuza Kabul
Murtuza Kabul

Reputation: 6514

it is a good option to use the webservice. But to make it work, you will have to make sure that the software is always connected to internet while it is invoked.

There are other offline options also available. here is the linke to a couple of them

http://www.smart-lock.com/

http://www.keylok.com/

They are keys which protect the execution unless the key is inserted in the machine.

There are further few more options available such as detecting the serial number of hard disk or identify the machine from mac address but they are not completely secure though. There are further issues such as change in hardware will cause the software stop working.

Upvotes: 1

Related Questions