Windows Phone setup

Important

Versions of the Microsoft Rights Management Service SDK released prior to March 2020 are deprecated; applications using earlier versions must be updated to use the March 2020 release. For full details, see the deprecation notice.

No further enhancements are planned for the Microsoft Rights Management Service SDK. We strongly recommend adoption of the Microsoft Information Protection SDK for classification, labeling, and protection services.

Windows Phone applications can use the Microsoft Rights Management SDK 4.2 to enable integrated information protection in their application by using the Azure Active Directory Rights Management (AAD RM).

This topic will guide you through setting up your environment for creating your own new apps .

Prerequisites

You must have the following software on your development system:

Review the information in the Windows Phone development guide at the Windows Phone Dev Center.

Configuring your development environment

  • Open Visual Studio.

  • Click File. On the File menu, click New, and then click Project.

  • In the New Project dialog box, select Visual C#, select Blank App (Windows Phone), and then click OK.

    Create new project

  • In Solution Explorer, right-click your project, and then select Add Reference to open the Add Reference dialog box.

    Add reference

  • Click Browse on the lower left of the Add Reference dialog box and select the Microsoft.RightsManagment.dll file that is located in the folder you extracted the package in.

  • Managed Apps - For building a managed app, you will have to add this reference; select Windows 8.1->Extensions and check the box for Windows Visual C++ Runtime Package for Windows

    Add extensions

  • Adding Capabilities - Your application will need the "Internet (Client & Server)" capability to use the SDK. To add this capability to your app, open the Package.appxmanifest file in the project and navigate to the Capabilities tab to add.

You are now ready to create your own new Windows Phone apps.

See Also

Get started

Core concepts

Windows Phone development

Windows API Reference

Visual Studio 2012

Windows Phone SDK