-
大小: 2.5MB文件類型: .rar金幣: 2下載: 0 次發(fā)布日期: 2023-11-08
- 語言: C#
- 標(biāo)簽:
資源簡介
客戶端根據(jù)服務(wù)器端的指令彈出提示窗口(c#源碼) 使用了networkcomms2.3.1框架 ,資源中也有下載

代碼片段和文件信息
//networkcomms?v3.x商業(yè)版?官方授權(quán)??正版銷售
//www.networkcomms.cn?(建設(shè)中?)
//www.cnblogs.com/networkocmms
//淘寶購買?推廣期間?八折優(yōu)惠??http://shop115882994.taobao.com/??機(jī)會不容錯過
//您可在英文網(wǎng)站上購買?九折折扣代碼:?NCDN_PRCLW?(貝寶支付)
//授權(quán)方式??一次性授權(quán)?獨(dú)立開發(fā)者版本??企業(yè)版本??提供源碼用于學(xué)習(xí)
//郵件咨詢:?networkcomms@126.com
//企業(yè)版?249英鎊/每開發(fā)者??獨(dú)立開發(fā)者版?149英鎊/每開發(fā)者??私人版?19英鎊/每開發(fā)者?
//淘寶上購買?v3商業(yè)版?好評后贈送?v3版本的4個demo??包含自動升級?和微風(fēng)IM?
using?System;
using?System.Collections.Generic;
using?System.ComponentModel;
using?System.Data;
using?System.Drawing;
using?System.Text;
using?System.Windows.Forms;
using?System.IO;
using?System.Net;
using?Microsoft.Win32;
using?System.Collections.objectModel;
using?NetworkCommsDotNet;
?
using?DPSbase;
namespace?AppServer
{
????public?partial?class?Form1?:?Form
????{
????????private?object?syncLocker?=?new?object();
????????private?ConnectionInfo?connnectionInfo;
????????public?ConnectionInfo?ConnecitonInfo
????????{
????????????get?{?return?connnectionInfo;?}
????????????set?{?connnectionInfo?=?value;?}
????????}
????????private?Connection?connection;
????????public?Connection?Connection
????????{
????????????get?{?return?connection;?}
????????????set?{?connection?=?value;?}
????????}
????????public?Form1()
????????{
????????????InitializeComponent();
????????????
????????}
????????private?void?button1_Click(object?sender?EventArgs?e)
????????{
????????????StartListening();
????????????this.button1.Text?=?“開始監(jiān)聽“;
????????????this.button1.Enabled?=?false;
????????}
????????private?void?StartListening()
????????{
????????????//配置日志記錄器
????????
????????????
????????????string?strIP?=?txtIP.Text;
????????????int?port?=?int.Parse(txtPort.Text);
??????????
????????????TCPConnection.StartListening(new?IPEndPoint(IPAddress.Parse(strIP)?port)?false);
??????????
????????}
???????
????????private?void?button2_Click(object?sender?EventArgs?e)
????????{
????????????try
????????????{
????????????????lock?(syncLocker)
????????????????{
????????????????????foreach?(Connection?conn?in?NetworkComms.GetExistingConnection())
????????????????????{
????????????????????????conn.Sendobject(“DocsNotify“txtMessage.Text?);
????????????????????}
????????????????}
????????????}
????????????catch?(Exception?ex)
????????????{
??????????????
????????????}
????????}
????????private?void?Form1_FormClosing(object?sender?FormClosingEventArgs?e)
????????{
????????????NetworkComms.Shutdown();
????????}
??????
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????4122??2015-02-04?17:05??ServerNotifySource\AppServer\AppServer.csproj
?????文件??????????3??2015-02-04?17:04??ServerNotifySource\AppServer\bin\Debug\官方授權(quán)?正版銷售.txt
?????文件??????10240??2015-02-04?17:06??ServerNotifySource\AppServer\bin\Release\AppServer.exe
?????文件??????26112??2015-02-04?17:06??ServerNotifySource\AppServer\bin\Release\AppServer.pdb
?????文件??????38400??2015-01-26?14:34??ServerNotifySource\AppServer\bin\Release\DPSba
?????文件?????105984??2015-01-26?14:34??ServerNotifySource\AppServer\bin\Release\DPSba
?????文件??????62761??2015-01-26?14:34??ServerNotifySource\AppServer\bin\Release\DPSba
?????文件????????138??2015-02-04?15:24??ServerNotifySource\AppServer\bin\Release\logFiles\2月第1周?ServerLogFile_4uIF92JarEarWqjtiKnRWg.txt
?????文件???????8105??2015-02-04?16:50??ServerNotifySource\AppServer\bin\Release\logFiles\2月第1周?ServerLogFile_aqVnEYa4CEOETu5phgtJ7A.txt
?????文件????????138??2015-02-04?16:48??ServerNotifySource\AppServer\bin\Release\logFiles\2月第1周?ServerLogFile_Ca_6dc2uEkC2dm3zn7HS-g.txt
?????文件????????138??2015-02-04?15:26??ServerNotifySource\AppServer\bin\Release\logFiles\2月第1周?ServerLogFile_najbmnZTnECXwkSKWY-L3Q.txt
?????文件??????21921??2015-02-04?16:52??ServerNotifySource\AppServer\bin\Release\logFiles\2月第1周?ServerLogFile_uWGY0rKGrE6jsDKedo1fWg.txt
?????文件????????206??2015-02-04?15:25??ServerNotifySource\AppServer\bin\Release\logFiles\2月第1周?ServerLogFile_wKdUqbk-fEeLrXPSCIMHCA.txt
?????文件????????138??2015-02-04?15:26??ServerNotifySource\AppServer\bin\Release\logFiles\2月第1周?ServerLogFile_wRNk2_Ga3U-Epu03zkhKYA.txt
?????文件????????205??2015-02-04?15:25??ServerNotifySource\AppServer\bin\Release\logFiles\2月第1周?ServerLogFile_YhmLkhx3_kSSiHseJ4Ay_A.txt
?????文件?????143872??2015-01-26?21:34??ServerNotifySource\AppServer\bin\Release\NetworkCommsDotNet.dll
?????文件?????259584??2015-01-26?21:34??ServerNotifySource\AppServer\bin\Release\NetworkCommsDotNet.pdb
?????文件?????172305??2015-01-26?21:34??ServerNotifySource\AppServer\bin\Release\NetworkCommsDotNet.xm
?????文件?????387584??2013-12-19?11:55??ServerNotifySource\AppServer\bin\Release\NLog.dll
?????文件?????187392??2013-12-19?11:55??ServerNotifySource\AppServer\bin\Release\protobuf-net.dll
?????文件?????630272??2014-10-04?17:11??ServerNotifySource\AppServer\bin\Release\protobuf-net.pdb
?????文件?????156123??2014-10-04?17:11??ServerNotifySource\AppServer\bin\Release\protobuf-net.xm
?????文件??????13824??2015-02-04?15:13??ServerNotifySource\AppServer\bin\Release\ProtobufSerializer.pdb
?????文件???????1319??2015-02-04?15:13??ServerNotifySource\AppServer\bin\Release\ProtobufSerializer.xm
?????文件??????43008??2015-01-26?14:34??ServerNotifySource\AppServer\bin\Release\SevenZipLZMACompressor.dll
?????文件?????138752??2015-01-26?14:34??ServerNotifySource\AppServer\bin\Release\SevenZipLZMACompressor.pdb
?????文件???????3701??2015-01-26?14:34??ServerNotifySource\AppServer\bin\Release\SevenZipLZMACompressor.xm
?????文件??????????3??2015-02-04?17:04??ServerNotifySource\AppServer\bin\Release\官方授權(quán)?正版銷售.txt
?????文件??????????3??2015-02-04?17:04??ServerNotifySource\AppServer\bin\官方授權(quán)?正版銷售.txt
?????文件???????2824??2015-02-04?17:06??ServerNotifySource\AppServer\Form1.cs
............此處省略95個文件信息
評論
共有 條評論