- 博客(5)
- 资源 (5)
- 问答 (1)
- 收藏
- 关注
原创 C#流转输分段上传
wcf 流传输上传文件不能分段上传的问题已解决。技巧就是上传的流参数不用FileStream 用MemoryStream即可。以下是代码:服务契约类:[ServiceContract()] public interface IMyServer { [OperationContract] void UploadFile(UploadPa
2018-02-04 20:15:49 936
原创 C#Monitor模似 Barrier
class MyBarrier { public delegate void callback(int number ); private readonly int thread_count; private readonly callback call; public int currentNumeric { get;
2017-10-17 21:08:26 293 1
原创 MySqlHelper
请用前选要引入MySql.dllusing System;using System.Collections.Generic;using System.Text;using MySql.Data.MySqlClient;using System.Data;using System.Configuration;namespace mysql{ public static c
2014-01-03 18:32:04 605
原创 UDP
using System;using System.Collections.Generic;using System.Text;using System.Net;using System.Net.Sockets;namespace 练习1{ class MyUdpClient { public delegate void reveiceDelete(objec
2013-12-15 04:49:48 502
原创 事件过滤器
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows.Forms;namespace ConsoleApplication3{ /// /// 自定义事件过滤器 /// class MyEventsF
2013-12-15 04:12:00 572
wcf流传输分块
2018-02-04
c#锁定记录问题如何解决
2013-12-25
TA创建的收藏夹 TA关注的收藏夹
TA关注的人