Is the application already written? If not I wouldn't worry about piracy, it's more important to write the application.
Sorry to be harsh again, but keying your software to the OS or some piece of hardware is, hold it - here's that word again --, stupid. Unless people absolutely need your software, which they probably don't, then that is a first class ticket to no sales.