Windows Store Apps
Windows Store applications can use the Microsoft Rights Management SDK 3.0 to enable integrated information protection in their application by using the Azure Active Directory Rights Management (AAD RM). For Microsoft Rights Management SDK 3.0, both Visual C# and Visual C++ sample code is available.
This topic will guide you through setting up your environment for creating your own new apps and walk you through building and running a sample app included with the SDK.
- Configuring your development environment for using Microsoft Rights Management SDK 3.0
- Building and running the RMSSampleApp sample app
- See Also
You must have the following software on your development system:
- The Windows 8 operating system.
- Microsoft Visual Studio 2012.
The Microsoft Rights Management SDK 3.0 package for Windows Store Apps. For more information see, Get started.
This SDK can be used to develop for Windows 8 and later.
Read the What's new topic for information on API updates, device and environment information, release notes, and frequently asked questions (FAQ).
- Open Visual Studio.
- Click File, click New, and then click Project.
- In the New Project dialog box, click Visual C#, click Windows Store, and then select Blank App (XAML).
- In Solution Explorer, right-click your project, and select Add Reference to open the Add Reference dialog box.
- In the Add Reference dialog box, click Browse on the lower left of the dialog box and select the Microsoft.Protection.winmd file that is located in the folder you extracted the package.
- You are now ready to work with the sample application that is provided in the package.
- You are now ready to create your own new Windows Store apps.
Use the following steps to build and run the RMSSampleApp sample project, included in the SDK.
- Open Visual Studio, select File, click Open, and then click Project / Solution.
- Open the RMSSampleApp folder, select the C# project file named "RMSSampleApp", and then click Open.
- Click Build, and then click Build Solution.
- To run the sample app in your development environment, you can click Debug, and then click Start without Debugging.
- You'll now see a simple text editor application. Type some text into the box, and then click Protection.
- You are prompted for your Windows Azure user name that give you access to the ADD RM services. After you have entered the user name and password, your new document is protected.