Delievering a license

Windows Media

    Sponsored Links

    Next

  • 1. CWMPPlayer4 wrapper class
    Hi all, In a project that has a wrapper class of Windows Media Player control: class CWMPPlayer4 : public CWnd { }; The wrapper class is instantiated as: CWMPPlayer4 MPlayer; ... At this point, one video file, "Tango.wmv", has been put into the current playlist of the MPlayer already. To change the playlist of MPlayer, I did the following: // Create a new media object CWMPMedia newMedia = MPlayer.newMedia( "C:/MPlayer/test.wmv" ); // Get curretn play list CWMPPlaylist curPlaylist = MPlayer.GetCurrentPlaylist(); if (newMedia.m_lpDispatch != NULL && curPlaylist.m_lpDispatch != NULL) { // Insert the media into the playlist curPlaylist.insertItem(0, newMedia.m_lpDispatch ); // Put the changed playlist back to MPlayer MPlayer.SetCurrentPlaylist( curPlaylist.m_lpDispatch ); } This piece code doesn't work since it keeps skipping the "test.wmv", but only play "Tango.wmv". Could someone help me find the problem with the code? Happy New Year! DH
  • 2. MPEG and WMV graph
    hi I need to know the graphEdit steps required to encode my DV format A/V to wmv format can any one tell me the graphEdit steps required for this purpose. Last filter in the graph should give the both Audio/Video in single pin Thanks

Delievering a license

Postby aXNjaHlydXM » Fri, 02 Feb 2007 16:26:01 GMT

I already have a license server and encoded/DRM'd content. I already have a 
working license delievery mechanism that delievers licenses via a browser and 
some scripting.

I am wanting to write an application that will download a DRM'd file, then 
obtain a license through my win forms application rather than through IE.

My question is ... 
1) How do I get the approptirate string for the 
WMRMOBJSLib.WMRMLicGenClass.ClientInfo property.

and 

2) How do I register the license with the system's DRM in a win forms app?

Finally

3) Will the axWindowsMediaPlayer object I have in my win forms be able to 
play the file without needing any special configuraiton?

RE: Delievering a license

Postby aXNjaHlydXM » Fri, 02 Feb 2007 18:00:00 GMT

I found my own answers, I should have tried for a little bit longer.

To assist others with the same questions I'll answer my own questions.





Add a reference to the com object 'msnetobj 1.0 Type Library'. You can then 
get the information from:

            RMGetLicense rm = new RMGetLicense();
            drm_LicenseGenerate.ClientInfo = rm.GetSystemInfo();


Use the rm object above to register the license.


Nope, the file will play.

Similar Threads:

1.pop3 connector not delievering messages to users

 Yesterday I moved my exchange store in SBS2003 from one drive (C:) to
 another drive (D:), because c: was full. Shortly after that I started
 experiencing my problem. When someone send a message to me it goes to
 my pop account. Then the message gets downloaded via the pop3
 connector. However it never gets to the users mailbox. I have mounted
 and dismounted the store several times. Also I hva restarted the
 server several times. Anyone have any ideas?

Hi - the POP connector is part of SBS, not Exchange itself. I suggest you 
post this in microsoft.public.windows.server.sbs for more help ...and 
explain exactly how you moved your Exchange store(s), and any event log 
errors you see. 


I moved the store by going to properties in the mailbox store and changing 
the location. It then dismounted and remounted the store and moved it.

2.offline messages not delievering

When I send an off line message to another WLM IM user who is off line, it 
tells me "The following message could not be delivered to all recipients:" 
Occurs on one machine only. Have reinstalled software on that machine. Works 
fine with same username on other machines. Have used different usernames on 
the machine with same result. Any ideas what is causing it. Has worked before.

3.Terminal Server Complains No License Server, but License Server Says,"Yes, I gave out Licenses"

I am running Win2K3 on two machines at two different locations.  The two
locations are connected by an ISDN link and by a VPN over DSL and Cable
Modem.  Both connections are available, and appear to be working (ping,
traceroute, the RDP connections themselves).  One machine is running SP-1
the other has not been upgraded (yet).

Each Win2K3 machine is running TS, and one of them is running TSLS.  The
second one has been operational for about 90 days.  Within the last week,
the second TS has been complaining that there is no TSLS, and that the grace
period is going to expire.  The "complaint" is in the form of a balloon in
the SysTray.  Checking with the TSLS Management Console, there are several
Permanent Licenses that have been issued to clients that would have no
reason to connect to the first machine, so it appears that the TSLS is
correctly providing licenses for the second TS

On the second TS, I have run TS Config, and have tried both Automatic
Discovery, and a hardwired TSLS.  In automatic discovery, the TSLS server
name is reported under "In Enterprise role".  If I hardwire a TSLS, and
press Check Names, it reports back that "The specified LS are valid Win2K3
TSLS's" The complaints persist regardless of automatic/hardwired mode.

From the second TS, I have run  lsview.exe, and it reports the TSLS as type
"Enterprise", with the time off by a few minutes.

From the second TS, I have run lsreport.exe, and it reports the same
permanent and temporary licenses as are listed in the TSLS Management
Console on the TSLS itself.

The Event Log does not have any TSLS error messages, and the only TS error
or warning messages are related to printers.

Any ideas on what's wrong, and is TS about to stop working?

  Dave Morschhauser
  Mystic Valley Communications.


4.2000 TS License - Multiple Licenses and Long Lasting Licenses

I have a 2000 LS and 60 CAL. I am showing that all of my licenses are being 
used. We only have 48 devices but some of the devices have more than 1 
permanent license. Also some of my liceneses are not set to expire for more 
than a year. I have a license issued March 17, 2005 not set to expire until 
April 06, 2006. How is it doing this? I have other license that won't expire 
for long after the 89 day limit that is supposed to be set. I have one 
license issued in December that won't expire until September. Any suggestions 
to get these licenses freed I have 3 clients that can't connect because their 
temp licenses have expired and there were no permanent licenses available.

5.TS Licensing srvr discovery-new license server not issuing license

6. cannot restore license - no backed up licenses were found

7. Can't play licensed music anymore or restore licenses (WMP 10)

8. wmp 9 got license, but keeps asking to download license



Return to Windows Media

 

Who is online

Users browsing this forum: No registered users and 91 guest