Программа регистрации компьютеров с сети

Автор: Пользователь скрыл имя, 14 Октября 2011 в 01:34, курсовая работа

Описание работы

Построить систему для регистрации каждого компьютера в сети корпорации при каждом включении и запрашивать технические характеристики компьютера. Система должна иметь возможность регистрации нового компьютера и пользователя, авторизовать зарегистрированного пользователя и генерировать новый пароль для пользователя

Содержание

1. Введение . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2. Основная часть . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.1. Регистрация компьютера в сети. . . . . . . . . .................... . . . . . . . . . . 5
2.1.1 Настройка сети……………………………………………….5
2.1.2 Уточнение полученных сетевых данных ………… ……….5
2.1.3 Обновление сетевых данных………………………………….5
2.1.4 Настройка маршрутизации………………………… ……….6
2.2. Язык программирования С# (C sharp). . . . . . . . . . . . . . . . . . . . . . . . 6
2.3. Базы данных Microsoft SQL Server .. . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.4. Аутентификация пользователя. . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.5. Сбор сведений о компьютерах в сети . . .. . . . . . . . . . . . . . . . . . . . . 9
2.6. Описание структуры и принципа работы системы . . . . . . . . . . . 10
2.6.1. Общие сведения . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.6.2. Процесс аутентификаций . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.6.3. Создания Базы данных MS SQL Server 2005 11
2.6.4. Cбор информации о состоянии компьютера 11
3. Заключение . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4. Список литературы.................................................................................. .........14
5. Приложение А . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ….. . . . 15

Работа содержит 1 файл

практика.doc

— 272.00 Кб (Скачать)

            this.button1.Location = new System.Drawing.Point(191, 384);

            this.button1.Name = "button1";

            this.button1.Size = new System.Drawing.Size(75, 31);

            this.button1.TabIndex = 1;

            this.button1.Text = "Отмена";

            this.button1.UseVisualStyleBackColor = true;

            this.button1.Click += new System.EventHandler(this.button1_Click);

            //

            // button2

            //

            this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));

            this.button2.Location = new System.Drawing.Point(110, 384);

            this.button2.Name = "button2";

            this.button2.Size = new System.Drawing.Size(75, 30);

            this.button2.TabIndex = 2;

            this.button2.Text = "ОК";

            this.button2.UseVisualStyleBackColor = true;

            this.button2.Click += new System.EventHandler(this.button2_Click);

            //

            // radioButton1

            //

            this.radioButton1.AutoSize = true;

            this.radioButton1.Checked = true;

            this.radioButton1.Location = new System.Drawing.Point(9, 342);

            this.radioButton1.Name = "radioButton1";

            this.radioButton1.Size = new System.Drawing.Size(84, 17);

            this.radioButton1.TabIndex = 16;

            this.radioButton1.TabStop = true;

            this.radioButton1.Text = "Изменить";

            this.radioButton1.UseVisualStyleBackColor = true;

            //

            // radioButton2

            //

            this.radioButton2.AutoSize = true;

            this.radioButton2.Location = new System.Drawing.Point(9, 319);

            this.radioButton2.Name = "radioButton2";

            this.radioButton2.Size = new System.Drawing.Size(108, 17);

            this.radioButton2.TabIndex = 17;

            this.radioButton2.Text = "Новая запись";

            this.radioButton2.UseVisualStyleBackColor = true;

            //

            // main

            //

            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);

            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;

            this.ClientSize = new System.Drawing.Size(277, 427);

            this.Controls.Add(this.button2);

            this.Controls.Add(this.button1);

            this.Controls.Add(this.groupBox1);

            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;

            this.MaximizeBox = false;

            this.MinimizeBox = false;

            this.Name = "main";

            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;

            this.Text = "Даные о пользоватиле";

            this.groupBox1.ResumeLayout(false);

            this.groupBox1.PerformLayout();

            this.ResumeLayout(false);

 

        }

 

        #endregion

 

        private System.Windows.Forms.GroupBox groupBox1;

        private System.Windows.Forms.Button button1;

        private System.Windows.Forms.Button button2;

        private System.Windows.Forms.Label label2;

        private System.Windows.Forms.Label label1;

        private System.Windows.Forms.TextBox textBox1;

        private System.Windows.Forms.Label label3;

        private System.Windows.Forms.Label label4;

        private System.Windows.Forms.Label label9;

        private System.Windows.Forms.TextBox textBox6;

        private System.Windows.Forms.Label label8;

        private System.Windows.Forms.TextBox textBox5;

        private System.Windows.Forms.Label label7;

        private System.Windows.Forms.TextBox textBox4;

        private System.Windows.Forms.Label label6;

        private System.Windows.Forms.TextBox textBox3;

        private System.Windows.Forms.Label label5;

        private System.Windows.Forms.TextBox textBox2;

        private System.Windows.Forms.TextBox textBox7;

        private System.Windows.Forms.RadioButton radioButton1;

        private System.Windows.Forms.RadioButton radioButton2;

    }

}

5) now_info.Designer.cs

 

namespace reg_comp_new

{

    partial class now_info

    {

        /// <summary>

        /// Required designer variable.

        /// </summary>

        private System.ComponentModel.IContainer components = null;

 

        /// <summary>

        /// Clean up any resources being used.

        /// </summary>

        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>

        protected override void Dispose(bool disposing)

        {

            if (disposing && (components != null))

            {

                components.Dispose();

            }

            base.Dispose(disposing);

        }

 

        #region Windows Form Designer generated code

 

        /// <summary>

        /// Required method for Designer support - do not modify

        /// the contents of this method with the code editor.

        /// </summary>

        private void InitializeComponent()

        {

            this.components = new System.ComponentModel.Container();

            this.groupBox1 = new System.Windows.Forms.GroupBox();

            this.groupBox9 = new System.Windows.Forms.GroupBox();

            this.label53 = new System.Windows.Forms.Label();

            this.label52 = new System.Windows.Forms.Label();

            this.label51 = new System.Windows.Forms.Label();

            this.label50 = new System.Windows.Forms.Label();

            this.label49 = new System.Windows.Forms.Label();

            this.label48 = new System.Windows.Forms.Label();

           this.label47 = new System.Windows.Forms.Label();

            this.label46 = new System.Windows.Forms.Label();

            this.label45 = new System.Windows.Forms.Label();

            this.label44 = new System.Windows.Forms.Label();

            this.label43 = new System.Windows.Forms.Label();

            this.label42 = new System.Windows.Forms.Label();

            this.label41 = new System.Windows.Forms.Label();

            this.label38 = new System.Windows.Forms.Label();

            this.label39 = new System.Windows.Forms.Label();

            this.label40 = new System.Windows.Forms.Label();

            this.label37 = new System.Windows.Forms.Label();

            this.label36 = new System.Windows.Forms.Label();

            this.label35 = new System.Windows.Forms.Label();

            this.groupBox8 = new System.Windows.Forms.GroupBox();

            this.label31 = new System.Windows.Forms.Label();

            this.label32 = new System.Windows.Forms.Label();

            this.label30 = new System.Windows.Forms.Label();

            this.label29 = new System.Windows.Forms.Label();

            this.groupBox7 = new System.Windows.Forms.GroupBox();

            this.label33 = new System.Windows.Forms.Label();

            this.label34 = new System.Windows.Forms.Label();

            this.label28 = new System.Windows.Forms.Label();

            this.label27 = new System.Windows.Forms.Label();

            this.groupBox6 = new System.Windows.Forms.GroupBox();

            this.label25 = new System.Windows.Forms.Label();

            this.label26 = new System.Windows.Forms.Label();

            this.label24 = new System.Windows.Forms.Label();

            this.label23 = new System.Windows.Forms.Label();

            this.label22 = new System.Windows.Forms.Label();

            this.label21 = new System.Windows.Forms.Label();

            this.groupBox5 = new System.Windows.Forms.GroupBox();

            this.label18 = new System.Windows.Forms.Label();

            this.label20 = new System.Windows.Forms.Label();

            this.label19 = new System.Windows.Forms.Label();

            this.label17 = new System.Windows.Forms.Label();

            this.groupBox4 = new System.Windows.Forms.GroupBox();

            this.label15 = new System.Windows.Forms.Label();

            this.label16 = new System.Windows.Forms.Label();

            this.label14 = new System.Windows.Forms.Label();

            this.label13 = new System.Windows.Forms.Label();

            this.groupBox3 = new System.Windows.Forms.GroupBox();

            this.label12 = new System.Windows.Forms.Label();

            this.label11 = new System.Windows.Forms.Label();

            this.label10 = new System.Windows.Forms.Label();

            this.label9 = new System.Windows.Forms.Label();

            this.label8 = new System.Windows.Forms.Label();

            this.label7 = new System.Windows.Forms.Label();

            this.groupBox2 = new System.Windows.Forms.GroupBox();

            this.label1 = new System.Windows.Forms.Label();

            this.label6 = new System.Windows.Forms.Label();

            this.label2 = new System.Windows.Forms.Label();

            this.label5 = new System.Windows.Forms.Label();

            this.label3 = new System.Windows.Forms.Label();

            this.label4 = new System.Windows.Forms.Label();

            this.timer1 = new System.Windows.Forms.Timer(this.components);

            this.groupBox1.SuspendLayout();

            this.groupBox9.SuspendLayout();

            this.groupBox8.SuspendLayout();

            this.groupBox7.SuspendLayout();

            this.groupBox6.SuspendLayout();

            this.groupBox5.SuspendLayout();

            this.groupBox4.SuspendLayout();

            this.groupBox3.SuspendLayout();

            this.groupBox2.SuspendLayout();

            this.SuspendLayout();

            //

            // groupBox1

            //

            this.groupBox1.Controls.Add(this.groupBox9);

            this.groupBox1.Controls.Add(this.groupBox8);

            this.groupBox1.Controls.Add(this.groupBox7);

            this.groupBox1.Controls.Add(this.groupBox6);

            this.groupBox1.Controls.Add(this.groupBox5);

            this.groupBox1.Controls.Add(this.groupBox4);

            this.groupBox1.Controls.Add(this.groupBox3);

            this.groupBox1.Controls.Add(this.groupBox2);

            this.groupBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204)));

            this.groupBox1.Location = new System.Drawing.Point(4, 6);

            this.groupBox1.Name = "groupBox1";

            this.groupBox1.Size = new System.Drawing.Size(485, 570);

            this.groupBox1.TabIndex = 0;

            this.groupBox1.TabStop = false;

            this.groupBox1.Text = "Информация";

            //

            // groupBox9

            //

            this.groupBox9.Controls.Add(this.label53);

            this.groupBox9.Controls.Add(this.label52);

            this.groupBox9.Controls.Add(this.label51);

Информация о работе Программа регистрации компьютеров с сети