Megosztás a következőn keresztül:


Windows Store setup

Windows Store applications can use the 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:

  • The Windows 8.1 operating system
  • The Windows SDK for your development platform
  • Microsoft Visual Studio 2012 or above, or Visual Studio Express 2012, which is included in the Windows SDK
  • The RMS SDK 4.2 package for Windows Store Applications. For more information see, Get started.
  • Authentication library: We recommend that you use the Azure AD Authentication Library and other authentication libraries can be used.

Read the What's new topic for information on API updates, device and environment information, release notes and frequently asked questions (FAQ).

Optional

Our UI library provides re-usable UI for consumption and protection operations for developers who don’t want to create their own custom UI - UI Library for Windows Store apps. We also provide a Windows Store app sample application - RMS Sample application for Windows Store.

Configuring your development environment

  • Open Visual Studio.

  • Click File, click New, and then click Project.

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

  • 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 and select the Microsoft.RightsManagement.dll file that is located in the folder you extracted the SDK 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

  • Adding Capabilities - Your application will need "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 Store apps.

See Also

Get started

What's new

Developer terms and concepts

Windows 8

Visual Studio 2012

Windows API Reference