Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi!

I made a plugin for a program ( bot ) .. I want to make it pay to use..

What i mean that to make the plugin check the name of the account if it's exist in PaidList.txt

As example : Paid account name is "Ahmed", then i put the name "Ahmed" in text in host like this "http://1.1.1.0/PaidList.txt" And it will be like this "AccountName:DateExpire" (Ahmed:30/1/2013)

The plugin check this file and load all the data, and check :

C#
if (PaidList.Contains("Ahmed"))
   {
      Plugin works !!
   }
   else
   {
      Message.show("You need to pay to use this plugin, sorry!");
   }


If there is another way to make system like this or better than this one.. Please tell me..

Or to make it like a server and client.. My PC is the server and connect to Mysql ( Navicat ) that contains the data.. Or with INI files.. Please Help anyway :)..

Thanks..

Regards,

Ahmed GameHackerPM (GH).
Posted
Updated 11-Dec-12 11:10am
v2
Comments
Sergey Alexandrovich Kryukov 11-Dec-12 17:30pm    
...and also you want to get a free advice on how to may it pay. Well, good luck...
--SA
Christian Graus 11-Dec-12 18:55pm    
Well, honestly, I bet 80% of the people asking for help here, are being paid for their efforts. I sure was when I first found this site.

1 solution

Your users should have license keys, which ideally tie to their machine so they can't be moved between machines. Then yes, you would send a message to see if that license key is valid. If your app is not online ( that is, if it's nature doesn't mean you can count on all users being online ), then you need to store a license file somewhere and hope people don't find it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900