• 大小: 0.33M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签:

资源简介

C#局域网桌面共享

资源截图

代码片段和文件信息


using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
using System.Net;
using System.Net.Sockets;
using System.IO;
using System.Threading;
using System.Drawing.Imaging;
using System.IO.Compression;

namespace client
{
    /// 
    /// swpu
    /// 

    public partial class MainForm : Form
    {
        public MainForm()
        {
            InitializeComponent();
            CheckForIllegalCrossThreadCalls = false;
        }
        Socket sendsocket;
        int interval = 100;
        private void Button1Click(object sender EventArgs e)
        {
            try
            {
                sendsocket = new Socket(AddressFamily.InterNetwork SocketType.Stream ProtocolType.Tcp);
            

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2014-04-16 12:55  client\
     目录           0  2014-04-16 13:39  client\client\
     文件         831  2014-04-16 09:14  client\client.sln
     文件       27136  2014-04-25 19:00  client\client.suo
     目录           0  2014-04-16 13:39  client\client\bin\
     目录           0  2014-04-21 20:24  client\client\bin\Debug\
     文件     4196406  2014-04-19 17:29  client\client\bin\Debug\1.jpg
     文件       39333  2014-04-19 17:29  client\client\bin\Debug\2.jpg
     文件       29696  2014-04-21 21:11  client\client\bin\Debug\client.exe
     文件       22016  2014-04-21 21:11  client\client\bin\Debug\client.pdb
     文件       11600  2014-04-25 18:17  client\client\bin\Debug\client.vshost.exe
     文件         490  2010-03-17 22:39  client\client\bin\Debug\client.vshost.exe.manifest
     目录           0  2014-04-16 13:39  client\client\bin\Release\
     文件        2693  2014-04-19 16:52  client\client\client.csproj
     文件        5651  2014-04-25 18:52  client\client\MainForm.cs
     文件        3609  2014-04-21 20:25  client\client\MainForm.Designer.cs
     文件       35494  2014-04-21 20:25  client\client\MainForm.resx
     目录           0  2014-04-16 12:55  client\client\obj\
     目录           0  2014-04-21 21:11  client\client\obj\Debug\
     文件        1184  2014-04-25 18:17  client\client\obj\Debug\client.csproj.FileListAbsolute.txt
     文件         905  2014-04-21 20:25  client\client\obj\Debug\client.csproj.GenerateResource.Cache
     文件        7556  2014-04-19 15:09  client\client\obj\Debug\client.csprojResolveAssemblyReference.cache
     文件       29696  2014-04-21 21:11  client\client\obj\Debug\client.exe
     文件       20192  2014-04-21 20:25  client\client\obj\Debug\client.MainForm.resources
     文件       22016  2014-04-21 21:11  client\client\obj\Debug\client.pdb
     文件        5359  2014-04-19 14:41  client\client\obj\Debug\DesignTimeResolveAssemblyReferences.cache
     文件        5868  2014-04-21 21:11  client\client\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     目录           0  2014-04-16 12:55  client\client\obj\Debug\TempPE\
     文件         636  2014-04-16 09:14  client\client\Program.cs
     目录           0  2014-04-16 12:55  client\client\Properties\
     文件        1069  2014-04-16 09:14  client\client\Properties\AssemblyInfo.cs
............此处省略28个文件信息

评论

共有 条评论