软件工程

本类阅读TOP10

·PHP4 + MYSQL + APACHE 在 WIN 系统下的安装、配置
·Linux 入门常用命令(1)
·Linux 入门常用命令(2)
·使用 DCPROMO/FORCEREMOVAL 命令强制将 Active Directory 域控制器降级
·DirectShow学习(八): CBaseRender类及相应Pin类的源代码分析
·基于ICE方式SIP信令穿透Symmetric NAT技术研究
·Windows 2003网络负载均衡的实现
·一网打尽Win十四种系统故障解决方法
·数百种 Windows 软件的免费替代品列表
·收藏---行百里半九十

分类导航
VC语言Delphi
VB语言ASP
PerlJava
Script数据库
其他语言游戏开发
文件格式网站制作
软件工程.NET开发
MSN的服务的程序

作者:未知 来源:月光软件站 加入时间:2005-2-28 月光软件站

我在写一个关于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.asp

Unlock 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




相关文章

相关软件