HJ
Guest
|
Posted:
Thu Jul 08, 2004 12:21 am Post subject:
Digest Authentication Sample |
|
|
I am attempting to build a Digest Authentication Plug-in for Windows Media Service 9. The samples are great but they are missing a couple functions: GetUserHash() and GetHash()
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmsrvsdk/htm/csiwmsauthenticationcallbackonauthenticatecomplete.asp
I found GetHash() in the VB.net sample and I converted it to C#. I believe the GetUserHash() is:
String.Format("{0}:{1}:{2}", username, AUTH_REALM, password);
But, it does not match the encrypted string sent from the client. Is there any documentation on creating the hashed string to match the one sent from the Windows Media Client? Or, a more complete sample?
|
|