Click here to Skip to main content
11,413,676 members (73,825 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#
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 :

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 Smile | :) ..

Thanks..

Regards,

Ahmed GameHackerPM (GH).
Posted 11-Dec-12 11:52am
Edited 11-Dec-12 12:10pm
v2
Comments
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...
--SA
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
good
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.
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 404
1 Maciej Los 210
2 Sascha Lefévre 200
3 KARTHIK Bangalore 145
4 ProgramFOX 130
0 Sergey Alexandrovich Kryukov 9,035
1 OriginalGriff 7,387
2 Maciej Los 3,640
3 Abhinav S 3,298
4 Peter Leow 3,084


Advertise | Privacy | Mobile
Web04 | 2.8.150427.2 | Last Updated 11 Dec 2012
Copyright © CodeProject, 1999-2015
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