Generating License
WMPTalk.com Forum Index WMPTalk.com
Discuss Windows Media Player
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web wmptalk.com
Generating License

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> DRM
Author Message
Anitha



Joined: 17 Aug 2006
Posts: 3

Posted: Tue Aug 22, 2006 7:14 am    Post subject: Generating License Reply with quote

Hi
I am newbie for this technology.I have started using the WMRM sdk for
packing and generating license for media content.I tried the silent
mode of delivering license.I am using ASP.NET and C#.net 2.0
When i generate the license
strLicense = LicenseObj.GetLicenseToDeliver();
Response.Write(strLicense);
The License string displayed is a sequense of characters it is not a
formated text with the appropriate tags as it dispalys the rights
string or header string.

I am using the following code
LicenseObj.KeyID = keyID;
LicenseObj.SetKey("MSDRM", key);
LicenseObj.Priority = 10;
LicenseObj.Rights = strRights;
LicenseObj.ClientInfo = ChallengeObj.ClientInfo;
LicenseObj.BindToPubKey = PublicKey;
LicenseObj.IndividualizedVersion =
HeaderObj.IndividualizedVersion;
LicenseObj.set_Attribute("Author", "K");
LicenseObj.set_Attribute("ContentDistributor", "W");
LicenseObj.set_Attribute("ContentType", "W");
LicenseObj.set_Attribute("Title", "Ka");
strLicense = LicenseObj.GetLicenseToDeliver();
Response.Write(strLicense);
ResponseObj.AddLicense("2.0.0.0", strLicense);
LicenseResponse = ResponseObj.GetLicenseResponse();
Is there any thing wrong in the following code
Can you please help regarding this
You can mail me at anitha.reddykora@gmail.com


_________________
Regards,
Sweety
Back to top
View user's profile Send private message
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> DRM All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Microsoft Office Forum New Topics
Powered by phpBB