日期:2014-05-19  浏览次数:20680 次

这个代码怎么改才能编绎?
using   System;
using   System.Collections;
using   System.Threading;

namespace   WMIScanner
{
        internal   class   Class1
        {
                //   Methods
                public   Class1();
                [STAThread]
                private   static   void   Main(string[]   args)
                {
                        ScnClass   class2   =   new   ScnClass();
                        new   Thread(new   ThreadStart(class2.Task)).Start();
                }
        }

        public   class   ScnClass
        {
                //   Fields
                private   ArrayList   ips   =   new   ArrayList();
                private   ArrayList   rips   =   new   ArrayList();
                private   Thread[]   threads   =   new   Thread[500];
       
                //   Methods
                private   void   CheckRemoteComputer()
                {
                        try
                        {
                                string   text   =   this.ips[int.Parse(Thread.CurrentThread.Name.ToString())].ToString();
                                Console.Write( "正在扫描主机: "   +   text   +   "\r\n ");
                                ConnectionOptions   options   =   new   ConnectionOptions();
                                options.Username   =   "administrator ";
                                options.Password   =   " ";
                                options.Timeout   =   new   TimeSpan((long)   0x2710);
                                options.Authority   =   "ntlmdomain: "   +   text;
                        &nb