General programming question

Discussion in 'Programming' started by merianos, Aug 8, 2007.

  1. #1
    Hello all . . .

    I creating an application and i want to make an expiration system but i don't have idea how to do that ? ? ?

    The only thinks that i know is that i need

    Date stamp at the time the user update his license
    Because i want to be hard the serial number of a divece (I know how can i do that)
    And a way to make the serial number for update.

    Any help for me please on how to make the system ? ? ?

    Thanks a lot . . . :)
     
    merianos, Aug 8, 2007 IP
  2. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #2
    what do you mean you want to make a expiration system?

    What serial number are you talking about?
     
    AstarothSolutions, Aug 8, 2007 IP
  3. merianos

    merianos Peon

    Messages:
    28
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I like to create a system (class) in my application to manage the expiring of my application. For example afrer 365 uses the program to be locked. The client then he will call me to ask me for a new serial number to continue working with the application. The client he will not pay any time the software expired. And i like to do this system for stop my clients to give the software to friends and the friend to friend and so on.

    The first way i thow for that was the MD5 has method but this returning back both letters and number.

    The other one that i prefer is only with numbers.

    Is any way for ? ??
     
    merianos, Aug 8, 2007 IP
  4. ecentricNick

    ecentricNick Peon

    Messages:
    351
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You could do something like...

    Each time the application is started, obtain some unique piece of information likely to be on the computer - lets say the MAC address of the Primary Network Adapter.

    Open a socket connection to a web site or server, and send the mac address, allowing the website or server to keep track of the number of times it's seen that MAC address.

    If it's never seen it before, or the number of uses is too high, or a period of time has elapsed, the server returns one value, if all is well, it returns a different value.

    Your application then takes the appropriate action.
     
    ecentricNick, Aug 9, 2007 IP
  5. merianos

    merianos Peon

    Messages:
    28
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Is realy very good idea . . .

    I have already think somethink similar to this idea bat we are in Greece.

    What's mean that ? ? ?

    Greek people are many years back.

    They don't have all the clients internet connection and what about if the client has internet connection and he don't open it ? ? ?

    In any case i thank you bat i think is not well method . . .
     
    merianos, Aug 10, 2007 IP