Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C#
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 "" And it will be like this "AccountName:DateExpire" (Ahmed:30/1/2013)
The plugin check this file and load all the data, and check :
if (PaidList.Contains("Ahmed"))
      Plugin works !!
   {"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 Smile | :) ..
Ahmed GameHackerPM (GH).
Posted 11-Dec-12 10:52am
Edited 11-Dec-12 11:10am
Sergey Alexandrovich Kryukov at 11-Dec-12 17:30pm
...and also you want to get a free advice on how to may it pay. Well, good luck...
Christian Graus at 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

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.

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

Advertise | Privacy | Mobile
Web01 | 2.8.141022.2 | Last Updated 11 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100