-
大小: 8.18MB文件類型: .rar金幣: 2下載: 1 次發(fā)布日期: 2023-10-09
- 語(yǔ)言: C#
- 標(biāo)簽: 網(wǎng)絡(luò)通信??
資源簡(jiǎn)介
c#開(kāi)源IM系統(tǒng)
把系統(tǒng)中集成的IM部分,提取出來(lái),共大家參考,也可以作為大家學(xué)習(xí)networkcomms框架的一個(gè)demo

代碼片段和文件信息
//networkcomms?v3.x商業(yè)版?來(lái)自英國(guó)的網(wǎng)絡(luò)通訊框架??www.networkcomms.net?官方授權(quán)??正版銷售
//www.networkcomms.cn?(建設(shè)中?)
//www.cnblogs.com/networkocmms
//淘寶購(gòu)買?推廣期間?八折優(yōu)惠??http://shop115882994.taobao.com/??機(jī)會(huì)不容錯(cuò)過(guò)
//您可在英文網(wǎng)站上購(gòu)買?九折折扣代碼:?NCDN_PRCLW?(貝寶支付)
//授權(quán)方式??一次性授權(quán)?獨(dú)立開(kāi)發(fā)者版本??企業(yè)版本??提供源碼用于學(xué)習(xí)
//郵件咨詢:?networkcomms@126.com
//企業(yè)版?249英鎊/每開(kāi)發(fā)者??獨(dú)立開(kāi)發(fā)者版?149英鎊/每開(kāi)發(fā)者??私人版?19英鎊/每開(kāi)發(fā)者?
//淘寶上購(gòu)買?v3商業(yè)版?好評(píng)后贈(zèng)送?v3版本的4個(gè)demo??包含自動(dòng)升級(jí)?和微風(fēng)IM
using?System;
using?System.Collections.Generic;
using?System.Text;
using?ProtoBuf;
using?System.IO;
using?System.Runtime.Serialization.Formatters.Binary;
namespace?SimpleIM.Business
{
????///?
????///?此契約類存放聊天對(duì)話消息
????///?
????[ProtoContract]
????public?class?ChatContract
????{?
????????//用戶ID
????????[ProtoMember(1)]
????????public?string?UserID?{?get;?set;?}
????????//用戶名
????????[ProtoMember(2)]
????????public?string?UserName?{?get;?set;?}
????????//目標(biāo)用戶ID
????????[ProtoMember(3)]
????????public?string?DestUserID?{?get;?set;?}
????????//目標(biāo)用戶名
????????[ProtoMember(4)]
????????public?string?DestUserName?{?get;?set;?}
????????//聊天的內(nèi)容,主要是文本消息
????????[ProtoMember(5)]
????????public?string?Content?{?get;?set;?}
????????//發(fā)送的時(shí)間
????????[ProtoMember(6)]
????????public?DateTime?SendTime?{?get;?set;?}
???????
????????public??ChatContract()
????????{?}
????????public?ChatContract(string?userID?string?userName?string?destUserID?string?destUserName?string??contentDateTime?sendTime)
????????{
????????????this.UserID?=?userID;
????????????this.UserName?=?userName;
????????????this.DestUserID?=?destUserID;
????????????this.DestUserName?=?destUserName;
????????????this.Content?=?content;
????????????this.SendTime?=?sendTime;
????????}
?????
????}
}
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件???????1427??2015-01-30?11:19??SimpleIMClient\app.config
?????文件??????38400??2015-01-26?14:34??SimpleIMClient\bin\Release\DPSba
?????文件?????105984??2015-01-26?14:34??SimpleIMClient\bin\Release\DPSba
?????文件??????62761??2015-01-26?14:34??SimpleIMClient\bin\Release\DPSba
?????文件?????270336??2013-10-25?23:35??SimpleIMClient\bin\Release\log4net.dll
?????文件?????143872??2015-01-26?21:34??SimpleIMClient\bin\Release\NetworkCommsDotNet.dll
?????文件?????259584??2015-01-26?21:34??SimpleIMClient\bin\Release\NetworkCommsDotNet.pdb
?????文件?????172305??2015-01-26?21:34??SimpleIMClient\bin\Release\NetworkCommsDotNet.xm
?????文件?????387584??2013-12-19?11:55??SimpleIMClient\bin\Release\NLog.dll
?????文件?????187392??2013-12-19?11:55??SimpleIMClient\bin\Release\protobuf-net.dll
?????文件???????5120??2015-01-22?12:57??SimpleIMClient\bin\Release\ProtobufSerializer.dll
?????文件??????15872??2015-01-22?12:57??SimpleIMClient\bin\Release\ProtobufSerializer.pdb
?????文件???????1319??2015-01-22?12:57??SimpleIMClient\bin\Release\ProtobufSerializer.xm
?????文件??????43008??2015-01-26?14:34??SimpleIMClient\bin\Release\SevenZipLZMACompressor.dll
?????文件?????138752??2015-01-26?14:34??SimpleIMClient\bin\Release\SevenZipLZMACompressor.pdb
?????文件???????3701??2015-01-26?14:34??SimpleIMClient\bin\Release\SevenZipLZMACompressor.xm
?????文件??????19968??2015-01-31?09:25??SimpleIMClient\bin\Release\SimpleIM.Business.dll
?????文件?????105984??2015-01-31?09:25??SimpleIMClient\bin\Release\SimpleIM.Business.pdb
?????文件??????21504??2015-01-31?09:25??SimpleIMClient\bin\Release\SimpleIM.Data.dll
?????文件??????67072??2015-01-31?09:25??SimpleIMClient\bin\Release\SimpleIM.Data.pdb
?????文件????2134016??2015-01-31?09:25??SimpleIMClient\bin\Release\SimpleIMClient.exe
?????文件???????1427??2015-01-30?11:19??SimpleIMClient\bin\Release\SimpleIMClient.exe.config
?????文件?????421376??2015-01-31?09:25??SimpleIMClient\bin\Release\SimpleIMClient.pdb
?????文件????????557??2015-01-31?09:30??SimpleIMClient\bin\官方授權(quán)??淘寶八折銷售??來(lái)自英國(guó)的通訊框架.txt
?????文件???????6941??2015-01-31?09:24??SimpleIMClient\ChatControl\ChatControl.cs
?????文件??????15806??2015-01-23?16:33??SimpleIMClient\ChatControl\ChatControl.designer.cs
?????文件??????13723??2014-08-29?15:17??SimpleIMClient\ChatControl\ChatControl.resx
?????文件??????15810??2015-01-31?09:24??SimpleIMClient\ChatControl\ChildForm.cs
?????文件???????1427??2015-01-23?16:33??SimpleIMClient\ChatControl\ChildForm.designer.cs
?????文件???????5814??2009-03-11?12:32??SimpleIMClient\ChatControl\ChildForm.resx
............此處省略805個(gè)文件信息
評(píng)論
共有 條評(píng)論