If you are a developer thinking about adding an app to Marketplace, but have been concerned about piracy protection, this post from the Windows Blog will give you more information on how to add their Advanced Anti-Piracy Protection to your app.
If you are developing applications for Windows phone, you have probably read about the Standard and Advanced Anti-Piracy Protection available to developers to help protect your hard developed IP. If you havenâ€™t done so yet, check out the Windows Marketplace anti-piracy model white paper available here. Advanced Anti-Piracy Protection (AAPP) is designed to thwart the illegitimate sharing of your Windows phone applications. Even if a hacker obtains the binaries from one device, AAPP will prevent that application from running on any other device. While Standard Anti-Piracy protection does not require any intervention by the developer, AAPP does require that you integrate code into your application. We will walk through how AAPP works, how you obtain the AAPP code from Microsoft and how to integrate the AAPP code into your application.
Of course we know that this level has in fact already been cracked, but then this is likely true of almost all protection systems.
For code samples read more at the Windows blog here.