Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Entertainment » microsoft.public.windowsmedia.sdk
Thread: Unable to expire media file transferred to a portable device

HTVi
TV Discussion Newsgroups

Unable to expire media file transferred to a portable device
BethH 10/8/2008 12:34:00 AM
Hi,

I have a protected media file that I acquire a valid license for on my local
computer. The license expires at a certain date time, and once the datetime
has passed, the file no longer plays as expected.

However I am also transferring the media file to a portable device, and it
never expires - it is like the expiration date is removed or ignored.

For the transfer rights, my license server is setting the following in the
WMRMRights object:
oRights.AllowBurnToCD = 1;
oRights.AllowBackupRestore = 1;
oRights.AllowTransferToSDMI = 1;
oRights.AllowTransferToNonSDMI = 1;

- I originally also had the TransferCount property set to 1000, but I have
also done some testing with this property removed and it did not make a
difference.

The other WMRMRights properties I am setting include:
oRights.PMRights = 1;
oRights.PMAppSecurity = 150;
oRights.PMExpirationDate = "#"+ dtEnd.ToString("yyyyMMdd HH:mm:ss")+"Z#";
oRights.ExpirationDate = "#"+ dtEnd.ToString("yyyyMMdd HH:mm:ss")+"Z#";
oRights.BeginDate = "#"+ dtStart.ToString("yyyyMMdd")+"Z#";

I am still using v9.5 of the WMRM SDK.

Is there some magic property or combination of properties that I am missing
in order to successfully be able to transfer the media file to a device and
have it expire at the proper time?

Thanks,
Beth


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen