As for using Windows Azure AD Right Management (AAD RM), please refer to the Quick Start
for Using Windows Azure AD Right Management.
Step 2: Install and configure RMS Server
About how to install and configure an RMS Server, please see AD RMS Step-by-Step Guide .
How to Use the SDK
i. Unzip the installation package to a directory, for example, D:\ Foxit RMS PDF Protection
Tool(SDK).
ii. Add the file frms.h under the directory "Foxit RMS PDF Protection Tool(SDK)\include" to your
project, so that you can check each interface conveniently.
iii. Add the file FPDFRMS.lib to the project, for example, add #pragma comment(lib,"D:\\ Foxit
RMS PDF Protection Tool(SDK)\\library\\FPDFRMS.lib") to the file stdafx.cpp (pre-compiled
file).
iv. Include the header file frms.h in the file which needs to use SDK interfaces, for example, add
include " D:\\ Foxit RMS PDF Protection Tool(SDK)\\library\\frms.h" to the file stdafx.h
(pre-compiled file).
v. Copy the file FPDFRMS.dll under “Foxit RMS PDF Protection Tool(SDK)\library” to the same
directory where your application program locates.
Running Your Application
In order to run your RMS application you need to generate a signed application manifest. This
guide shows how to generate a manifest
On your development machine:
1. Copy the following files to a single directory:
Foxit RMS PDF Protection Tool(SDK)
“
“
Foxit RMS PDF Protection Tool(SDK)
Foxit RMS PDF Protection Tool(SDK)
“
“
Foxit RMS PDF Protection Tool(SDK)
“
Foxit RMS PDF Protection Tool(SDK)
“Foxit RMS PDF Protection Tool(SDK)
< YourAppName >.exe
Note: If it's the pre-production environment, please copy the files “isvtier5appsigningprivkey.dat”,
“isvtier5appsigningpubkey.dat” and “isvtier5appsignsdk_client.xml” under the directory of
“FoxitPDF_ADRMS_SDK_10\tools\pre-production”.
2. In this same directory, use notepad.exe to open the file < YourAppName >
the option REQ HASH "YourAppName.exe", and fill in the name of your application
program. The file should have the following contents:
AUTO-GUID
"isvtier5appsigningprivkey.dat"
MODULELIST
REQ HASH "YourAppName.exe"
POLICYLIST
INCLUSION
PUBLICKEY "isvtier5appsigningpubkey.dat"
EXCLUSION
NOTE: Ensure that “YourAppName.exe” is consistent with the actual < YourAppName >.exe.
3. In this same directory, use notepad.exe to open the file < YourAppName >.bat. Modify the
option YourAppName.exe.man, and fill in the name of your application program. The file