摘要:/*client*/
public partial class FormClient : Form
{
public FormClient()
{
InitializeComponent();
}
private void btnSend_Click(object sender, EventArgs e)
{
Client client = new Client(new IPEndPoint(IPAddress.Parse("127.0.0.1"), 8500));
lblMsg.Text = "服务器IP及端口:" + client.socket.RemoteEndPoint.ToString();
阅读全文
11 2012 档案
摘要:C#自带DeflateStream,生成后的文件和javat生成的不一样.
阅读全文
摘要:byte[] defArr = File.ReadAllBytes(filePath);byte[] md5Arr = GetMd5Hash(filePath); int len = defArr.Length + md5Arr.Length;byte[] lenArr = BitConverter.GetBytes(len);if (BitConverter.IsLittleEndian) Array.Reverse(lenArr);//resArr为合并后数组byte[] resArr = new byte[lenArr.Length + defArr.Length + md5Arr.Le
阅读全文
摘要:1.默认账户scott的解锁cmd命令行下输入sqlplus,在“请输入用户名”后面输入命令: conn sys/sys as sysdba(用超级管理员登录),解锁scott:alter user scott account unlock;2.显示当前用户:show user;3.切换用户:con
阅读全文