TiGerFive
Guest
|
Posted:
Thu Apr 14, 2005 8:22 am Post subject:
Help... I hope to issue chain license. |
|
|
Hi!!!
I am packaging simple and chain license via wmrm10.
I read wmrm10 sdk help document and I write package.asp for chain license.
[code snipper]
--------------------------------------------------------------------------
RootKID = KeyID2
LeafKID = keyObj.GenerateKeyID()
keyObj.seed = seed
keyObj.KeyID = LeafKID
key = keyObj.GenerateKey()
headObj.KeyID = LeafKID
headObj.LicenseAcqURL = licurl 'Version 7 license acquisition URL
headObj.ContentID = cid
headObj.AddUplink(RootKid)
--------------------------------------------------------------------------
My program was protected to wma file successful.
And, I played to the protected file via windows media player 10.
But, Simple.asp was issued simple license.
[code snipper]
--------------------------------------------------------------------------
SimpleLeafKID = objHeader.KeyID
indiVersion = objHeader.IndividualizedVersion
Err.Clear
Set objChainColl = objChallenge.Uplinks
If (Err.Number = 0) Then
licChain = "chain"
Else
licChain = "simple" <---- here
End If
--------------------------------------------------------------------------
Why?
|
|