how to play a file encrypted drm v1 without displaying licen
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
how to play a file encrypted drm v1 without displaying licen

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





Posted: Wed Oct 19, 2005 8:30 am    Post subject: how to play a file encrypted drm v1 without displaying licen Reply with quote

I encrypted a wma file with an drm version 1 encrypting application that I
made.
I got an license with an sample audioplayer(applied to drm) in windows media
format sdk, but the audioplayer display 'licensing Web Page' when licensing.
Can I play encrypted wma file without displaying the page?

When I made the encrypting application, I have followed the instructions
described on WMFSDK documents as follow:

1.Link the WMStubDRM.lib file to your project and, if necessary, unlink
wmvcore.lib.
2.Call the WMCreateWriter function to create the writer. The first argument
is reserved and must be set to NULL.
3.Set a profile for the writer to use by calling IWMWriter::SetProfile or
IWMWriter::SetProfileByID. You must set a profile in the writer before
setting any DRM attributes. DRM is supported only for profiles that use the
Windows Media Audio or Windows Media Video codecs.
4.Using the IWMHeaderInfo::SetAttribute method, set the following DRM
properties. The Use_DRM property instructs the DRM components to protect the
content using DRM version 1. The DRM_Flags property specifies the rights to
be included in the local license that will be created for the content. The
DRM_LEVEL value is also stored in the license; it specifies the minimum level
required to access the content. 150 is the recommended level for DRM version
1 content.

And I also want to know how to make drm v.7 contents and whether windows
media player v6.4 can play the contents encrypted with drm version 7..

any help is welcome.

Back to top
Digital Media Man
Guest





Posted: Wed Oct 19, 2005 4:30 pm    Post subject: RE: how to play a file encrypted drm v1 without displaying l Reply with quote

Hello
In DRM version 1, you can only do the Post Deliver
In V7/DRM 10 you can do a Pre Deliver, this will hide the license issue page.

DE

"ellipse" wrote:

Quote:
I encrypted a wma file with an drm version 1 encrypting application that I
made.
I got an license with an sample audioplayer(applied to drm) in windows media
format sdk, but the audioplayer display 'licensing Web Page' when licensing.
Can I play encrypted wma file without displaying the page?

When I made the encrypting application, I have followed the instructions
described on WMFSDK documents as follow:

1.Link the WMStubDRM.lib file to your project and, if necessary, unlink
wmvcore.lib.
2.Call the WMCreateWriter function to create the writer. The first argument
is reserved and must be set to NULL.
3.Set a profile for the writer to use by calling IWMWriter::SetProfile or
IWMWriter::SetProfileByID. You must set a profile in the writer before
setting any DRM attributes. DRM is supported only for profiles that use the
Windows Media Audio or Windows Media Video codecs.
4.Using the IWMHeaderInfo::SetAttribute method, set the following DRM
properties. The Use_DRM property instructs the DRM components to protect the
content using DRM version 1. The DRM_Flags property specifies the rights to
be included in the local license that will be created for the content. The
DRM_LEVEL value is also stored in the license; it specifies the minimum level
required to access the content. 150 is the recommended level for DRM version
1 content.

And I also want to know how to make drm v.7 contents and whether windows
media player v6.4 can play the contents encrypted with drm version 7..

any help is welcome.
Back to top
 
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