Thread: How to protect my application??

  1. #1
    Registered User
    Join Date
    Jun 2006

    Question How to protect my application??

    I've application on certain pc & I want only that pc to execute it,so I've thought about getting a unique identifier (e.g. processor id ) using c# .

    Problems :
    I know that solution isn't usable because if the processor on that pc is changed so the application won't work any more .

    Initially, how can I make that kind of protection by getting a unique id.

    If any one has a better idea plz tell me about it.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    The problem with all such schemes is that anyone with half a mind to hack it can find out where you do
    if ( key == magic ) doProgram();

    And turn it into
    if ( key != magic ) doProgram();
    to enable the code to run on every machine EXCEPT yours.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Cleanup of the application...
    By Petike in forum Windows Programming
    Replies: 1
    Last Post: 08-16-2008, 05:23 PM
  2. Problem with com application
    By amardon in forum C++ Programming
    Replies: 3
    Last Post: 10-06-2005, 05:50 AM
  3. MFC run application by clicking on file...
    By dug in forum Windows Programming
    Replies: 4
    Last Post: 12-02-2004, 04:33 AM
  4. Win application not very portable
    By swed in forum Windows Programming
    Replies: 5
    Last Post: 10-01-2001, 11:17 AM