请各位帮我看看,是不是使用Messenger APIs的服务需要付费,才能得到a license and valid ID/key pair???请看那段英文。
我在写一个关于MSN的服务的程序,需要通过自己的客户端和MSN的服务进行交互。
根据微软的文档中说的过程和例子;
1。建立一个session对象。Create a Session Object
2。解锁Messenger APIs。Unlock the Messenger APIs
3。发出邀请。Send an Invitation
4。监听事件。Notifications Fired From a Messenger Service
我可以建立对象了。
但是。解锁的时候我却胡涂了。
MLockSessionManager.SendResponse g_ChallengeID, sMD5Key, lTransactionID
MLockSessionManager.SendResponse 需要三个参数:
g_ChallengeID:不知道
sMD5Key: 知道一半
lTransactionID:知道
这里有一个概念我不懂,ID/KEY。
g_ChallengeID,就是ID
sMD5Key:是KEY和建立Session时服务返回来一个值相加,然后MD5得到的。
建立Session时服务返回来一个值我知道,所以说sMD5Key我知道一半。
我现在想请教的是:如何得到自己程序的ID/KEY。是如何进行的。(付钱给微软??)
如果哪位大虾能邦助我解决这个问题,1000分以外,还可以公布我的源代码给他。http://msdn.microsoft.com/library/default.asp?url=/library/en-us/WinMessenger/winmessenger/overview/lockandkey.aspUnlock the Messenger APIs
To unlock the Messenger service APIs, you must have a license and valid ID/key pair. The license requires an application that uses the API to follow guidelines designed to help protect the integrity of the Messenger service. The Lock and Key mechanism helps prevent unauthorized applications from using the Messenger service APIs.http://msdn.microsoft.com/library/default.asp?url=/library/en-us/WinMessenger/winmessenger/overview/lockandkey.asp