EDN Admin
Well-known member
As said:In RMS,I need the "require a new license each time content is consumed" setting ,How to set when encrypt files?
<span style="font-family:inherit; font-style:inherit; color:#2a2a2a; line-height:1.5; white-spacere-wrap If "<AUTHENTICATEDDATA id=<span class="x_cs__string" style="font-family:inherit; font-style:inherit; line-height:1.5; white-spacere-wrap; border:0px; margin:0px; outline:0px; padding:0px; color:teal "APPSPECIFIC"<span style="font-family:inherit; font-style:inherit; color:#2a2a2a; line-height:1.5; white-spacere-wrap name=<span class="x_cs__string" style="font-family:inherit; font-style:inherit; line-height:1.5; white-spacere-wrap; border:0px; margin:0px; outline:0px; padding:0px; color:teal "NOLICCACHE"<span style="font-family:inherit; font-style:inherit; color:#2a2a2a; line-height:1.5; white-spacere-wrap ><span class="x_cs__number" style="font-family:inherit; font-style:inherit; line-height:1.5; white-spacere-wrap; border:0px; margin:0px; outline:0px; padding:0px; color:red 1<span style="font-family:inherit; font-style:inherit; color:#2a2a2a; line-height:1.5; white-spacere-wrap </AUTHENTICATEDDATA>"
in the rights XML,so I should require a new license each time content is consumed setting <span style="color:#2a2a2a; font-family:Segoe UI,Lucida Grande,Verdana,Arial,Helvetica,sans-serif; line-height:16px checked, but I do not know
how. I guess this API :
<pre style="padding:5px; font-family:Consolas,Courier,monospace; font-size:12px; line-height:normal HRESULT DRMCreateRight(
__in PWSTR wszRightName,
__in SYSTEMTIME *pstFrom,
__in SYSTEMTIME *pstUntil,
__in UINT cExtendedInfo,
__in PWSTR *pwszExtendedInfoName, // Maybe here? Or other APIs,like http://msdn.microsoft.com/en-us/library/windows/desktop/aa362592(v=vs.85).aspx" title="DRMSetUsagePolicy" style="text-decoration:none; color:#707070; font-family:Segoe UI,Lucida Grande,Verdana,Arial,Helvetica,sans-serif; line-height:normal; white-space:nowrap DRMSetUsagePolicy , http://msdn.microsoft.com/en-us/library/windows/desktop/aa362586(v=vs.85).aspx" title="DRMSetApplicationSpecificData" style="text-decoration:none; color:#707070; font-family:Segoe UI,Lucida Grande,Verdana,Arial,Helvetica,sans-serif; line-height:normal; white-space:nowrap DRMSetApplicationSpecificData ....
__in PWSTR *pwszExtendedInfoValue, // Maybe here? Anyone can help me? thanks! [/code]
<pre style="padding:5px; font-family:Consolas,Courier,monospace; font-size:12px; line-height:normal __out DRMPUBHANDLE *phRight
);[/code]
<pre style="padding:5px; font-family:Consolas,Courier,monospace; font-size:12px; line-height:normal <br/>[/code]
View the full article
<span style="font-family:inherit; font-style:inherit; color:#2a2a2a; line-height:1.5; white-spacere-wrap If "<AUTHENTICATEDDATA id=<span class="x_cs__string" style="font-family:inherit; font-style:inherit; line-height:1.5; white-spacere-wrap; border:0px; margin:0px; outline:0px; padding:0px; color:teal "APPSPECIFIC"<span style="font-family:inherit; font-style:inherit; color:#2a2a2a; line-height:1.5; white-spacere-wrap name=<span class="x_cs__string" style="font-family:inherit; font-style:inherit; line-height:1.5; white-spacere-wrap; border:0px; margin:0px; outline:0px; padding:0px; color:teal "NOLICCACHE"<span style="font-family:inherit; font-style:inherit; color:#2a2a2a; line-height:1.5; white-spacere-wrap ><span class="x_cs__number" style="font-family:inherit; font-style:inherit; line-height:1.5; white-spacere-wrap; border:0px; margin:0px; outline:0px; padding:0px; color:red 1<span style="font-family:inherit; font-style:inherit; color:#2a2a2a; line-height:1.5; white-spacere-wrap </AUTHENTICATEDDATA>"
in the rights XML,so I should require a new license each time content is consumed setting <span style="color:#2a2a2a; font-family:Segoe UI,Lucida Grande,Verdana,Arial,Helvetica,sans-serif; line-height:16px checked, but I do not know
how. I guess this API :
<pre style="padding:5px; font-family:Consolas,Courier,monospace; font-size:12px; line-height:normal HRESULT DRMCreateRight(
__in PWSTR wszRightName,
__in SYSTEMTIME *pstFrom,
__in SYSTEMTIME *pstUntil,
__in UINT cExtendedInfo,
__in PWSTR *pwszExtendedInfoName, // Maybe here? Or other APIs,like http://msdn.microsoft.com/en-us/library/windows/desktop/aa362592(v=vs.85).aspx" title="DRMSetUsagePolicy" style="text-decoration:none; color:#707070; font-family:Segoe UI,Lucida Grande,Verdana,Arial,Helvetica,sans-serif; line-height:normal; white-space:nowrap DRMSetUsagePolicy , http://msdn.microsoft.com/en-us/library/windows/desktop/aa362586(v=vs.85).aspx" title="DRMSetApplicationSpecificData" style="text-decoration:none; color:#707070; font-family:Segoe UI,Lucida Grande,Verdana,Arial,Helvetica,sans-serif; line-height:normal; white-space:nowrap DRMSetApplicationSpecificData ....
__in PWSTR *pwszExtendedInfoValue, // Maybe here? Anyone can help me? thanks! [/code]
<pre style="padding:5px; font-family:Consolas,Courier,monospace; font-size:12px; line-height:normal __out DRMPUBHANDLE *phRight
);[/code]
<pre style="padding:5px; font-family:Consolas,Courier,monospace; font-size:12px; line-height:normal <br/>[/code]
View the full article