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

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.DirectoryServices;
using System.Net;
using System.Net.Sockets;
using System.Threading;

namespace ScanGroup
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        #region 实例化类对象和公共变量
        //实例化DirectoryEntry对象,以便获得局域网组名
        DirectoryEntry DEMain = new DirectoryEntry(“WinNT:“);
        #endregion

        private void Form1_Load(object sender EventArgs e)
        {
            //遍历局域网中的工作组,并显示在下拉列表控件中
            foreach (DirectoryEntry DEGroup in DEMain.Children)
            {
   

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         917  2009-02-10 13:12  sj\01\ScanGroup\ScanGroup.sln
     文件       20992  2009-02-10 13:18  sj\01\ScanGroup\ScanGroup.suo
     文件         984  2009-02-10 13:17  sj\01\ScanGroup\ScanGroup\Form1.cs
     文件        2735  2009-02-10 13:17  sj\01\ScanGroup\ScanGroup\Form1.designer.cs
     文件        5814  2009-02-10 13:15  sj\01\ScanGroup\ScanGroup\Form1.resx
     文件         490  2009-02-10 13:12  sj\01\ScanGroup\ScanGroup\Program.cs
     文件        3818  2009-02-10 13:17  sj\01\ScanGroup\ScanGroup\ScanGroup.csproj
     文件        8704  2009-02-10 13:17  sj\01\ScanGroup\ScanGroup\bin\Debug\ScanGroup.exe
     文件       19968  2009-02-10 13:17  sj\01\ScanGroup\ScanGroup\bin\Debug\ScanGroup.pdb
     文件       14328  2009-02-10 13:18  sj\01\ScanGroup\ScanGroup\bin\Debug\ScanGroup.vshost.exe
     文件         746  2009-02-10 13:18  sj\01\ScanGroup\ScanGroup\obj\Debug\ScanGroup.csproj.FileListAbsolute.txt
     文件         847  2009-02-10 13:16  sj\01\ScanGroup\ScanGroup\obj\Debug\ScanGroup.csproj.GenerateResource.Cache
     文件        8704  2009-02-10 13:17  sj\01\ScanGroup\ScanGroup\obj\Debug\ScanGroup.exe
     文件         180  2009-02-10 13:17  sj\01\ScanGroup\ScanGroup\obj\Debug\ScanGroup.Form1.resources
     文件       19968  2009-02-10 13:17  sj\01\ScanGroup\ScanGroup\obj\Debug\ScanGroup.pdb
     文件         180  2009-02-10 13:17  sj\01\ScanGroup\ScanGroup\obj\Debug\ScanGroup.Properties.Resources.resources
     文件        1374  2009-02-10 13:12  sj\01\ScanGroup\ScanGroup\Properties\AssemblyInfo.cs
     文件        2868  2009-02-10 13:12  sj\01\ScanGroup\ScanGroup\Properties\Resources.Designer.cs
     文件        5612  2009-02-10 13:12  sj\01\ScanGroup\ScanGroup\Properties\Resources.resx
     文件        1094  2009-02-10 13:12  sj\01\ScanGroup\ScanGroup\Properties\Settings.Designer.cs
     文件         249  2009-02-10 13:12  sj\01\ScanGroup\ScanGroup\Properties\Settings.settings
     文件         926  2009-02-10 13:19  sj\02\ScanComputer\ScanComputer.sln
     文件       20992  2009-02-10 13:23  sj\02\ScanComputer\ScanComputer.suo
     文件        1805  2009-02-10 13:22  sj\02\ScanComputer\ScanComputer\Form1.cs
     文件        4632  2009-02-10 13:22  sj\02\ScanComputer\ScanComputer\Form1.designer.cs
     文件        5814  2009-02-10 13:22  sj\02\ScanComputer\ScanComputer\Form1.resx
     文件         493  2009-02-10 13:19  sj\02\ScanComputer\ScanComputer\Program.cs
     文件        3824  2009-02-10 13:21  sj\02\ScanComputer\ScanComputer\ScanComputer.csproj
     文件        9728  2009-02-10 13:22  sj\02\ScanComputer\ScanComputer\bin\Debug\ScanComputer.exe
     文件       22016  2009-02-10 13:22  sj\02\ScanComputer\ScanComputer\bin\Debug\ScanComputer.pdb
     文件       14328  2009-02-10 13:22  sj\02\ScanComputer\ScanComputer\bin\Debug\ScanComputer.vshost.exe
............此处省略33个文件信息

评论

共有 条评论