Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Determining Root license expiry date

0 views
Skip to first unread message

Glyn Davies

unread,
Jun 5, 2007, 10:10:36 AM6/5/07
to
Hi Folks,

Didn't spot the drm subgroup when I was looking earlier - and WMTALK
still seems to be down, so....

Whats the best way to programmatically determine the expiry date of a
root license?

Just been messing around with IWMDRMLicenseQuery to query
QueryLicenseState, but I get a blank array
back for the dates - passing either the root key or a leaf key.

I have some code for doing this with a stub library, but I don't think
we have the license for that at the moment.
Any way to do it without a stub?

Thanks,

Glyn Davies

Glyn Davies

unread,
Jun 6, 2007, 11:31:47 AM6/6/07
to

Answering my own question, but...

The answer is to ensure you are passing g_wszWMDRM_LicenseState_Playback
and not g_wszWMDRM_ActionAllowed_Playback when trying to obtain the
valid current license state.

Cheers,

Glyn

0 new messages