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

Автор: Пользователь скрыл имя, 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.groupBox1.ResumeLayout(false);

            this.groupBox1.PerformLayout();

            this.ResumeLayout(false);

 

        }

 

        #endregion

 

        private System.Windows.Forms.GroupBox groupBox1;

        private System.Windows.Forms.TextBox textBox1;

        private System.Windows.Forms.Label label1;

        private System.Windows.Forms.Label label2;

        private System.Windows.Forms.TextBox textBox2;

        private System.Windows.Forms.Button button1;

        private System.Windows.Forms.Button button2;

    }

}

4) main.Designer.cs

 

namespace reg_comp_new

{

    partial class main

    {

        /// <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.groupBox1 = new System.Windows.Forms.GroupBox();

            this.textBox7 = new System.Windows.Forms.TextBox();

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

            this.textBox6 = new System.Windows.Forms.TextBox();

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

            this.textBox5 = new System.Windows.Forms.TextBox();

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

            this.textBox4 = new System.Windows.Forms.TextBox();

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

            this.textBox3 = new System.Windows.Forms.TextBox();

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

            this.textBox2 = new System.Windows.Forms.TextBox();

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

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

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

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

            this.textBox1 = new System.Windows.Forms.TextBox();

            this.button1 = new System.Windows.Forms.Button();

            this.button2 = new System.Windows.Forms.Button();

            this.radioButton1 = new System.Windows.Forms.RadioButton();

            this.radioButton2 = new System.Windows.Forms.RadioButton();

            this.groupBox1.SuspendLayout();

            this.SuspendLayout();

            //

            // groupBox1

            //

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            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(12, 12);

            this.groupBox1.Name = "groupBox1";

            this.groupBox1.Size = new System.Drawing.Size(254, 365);

            this.groupBox1.TabIndex = 0;

            this.groupBox1.TabStop = false;

            this.groupBox1.Text = "Даные";

            //

            // textBox7

            //

            this.textBox7.Location = new System.Drawing.Point(9, 295);

            this.textBox7.Name = "textBox7";

            this.textBox7.Size = new System.Drawing.Size(234, 20);

            this.textBox7.TabIndex = 15;

            //

            // label9

            //

            this.label9.AutoSize = true;

            this.label9.Location = new System.Drawing.Point(9, 279);

            this.label9.Name = "label9";

            this.label9.Size = new System.Drawing.Size(60, 13);

            this.label9.TabIndex = 14;

            this.label9.Text = "Кабинет:";

            //

            // textBox6

            //

            this.textBox6.Location = new System.Drawing.Point(9, 256);

            this.textBox6.Name = "textBox6";

            this.textBox6.Size = new System.Drawing.Size(234, 20);

            this.textBox6.TabIndex = 13;

            //

            // label8

            //

            this.label8.AutoSize = true;

            this.label8.Location = new System.Drawing.Point(6, 240);

            this.label8.Name = "label8";

            this.label8.Size = new System.Drawing.Size(54, 13);

            this.label8.TabIndex = 12;

            this.label8.Text = "Здание:";

            //

            // textBox5

            //

            this.textBox5.Location = new System.Drawing.Point(9, 212);

            this.textBox5.Name = "textBox5";

            this.textBox5.Size = new System.Drawing.Size(234, 20);

            this.textBox5.TabIndex = 11;

            //

            // label7

            //

            this.label7.AutoSize = true;

            this.label7.Location = new System.Drawing.Point(6, 195);

            this.label7.Name = "label7";

            this.label7.Size = new System.Drawing.Size(63, 13);

            this.label7.TabIndex = 10;

            this.label7.Text = "Телефон:";

            //

            // textBox4

            //

            this.textBox4.Location = new System.Drawing.Point(9, 172);

            this.textBox4.Name = "textBox4";

            this.textBox4.Size = new System.Drawing.Size(234, 20);

            this.textBox4.TabIndex = 9;

            //

            // label6

            //

            this.label6.AutoSize = true;

            this.label6.Location = new System.Drawing.Point(6, 156);

            this.label6.Name = "label6";

            this.label6.Size = new System.Drawing.Size(47, 13);

            this.label6.TabIndex = 8;

            this.label6.Text = "Отдел:";

            //

            // textBox3

            //

            this.textBox3.Location = new System.Drawing.Point(9, 128);

            this.textBox3.Name = "textBox3";

            this.textBox3.Size = new System.Drawing.Size(234, 20);

            this.textBox3.TabIndex = 7;

            //

            // label5

            //

            this.label5.AutoSize = true;

            this.label5.Location = new System.Drawing.Point(6, 112);

            this.label5.Name = "label5";

            this.label5.Size = new System.Drawing.Size(89, 13);

            this.label5.TabIndex = 6;

            this.label5.Text = "Предприятие:";

            //

            // textBox2

            //

            this.textBox2.Location = new System.Drawing.Point(9, 85);

            this.textBox2.Name = "textBox2";

            this.textBox2.Size = new System.Drawing.Size(234, 20);

            this.textBox2.TabIndex = 5;

            //

            // label4

            //

            this.label4.AutoSize = true;

            this.label4.Location = new System.Drawing.Point(6, 68);

            this.label4.Name = "label4";

            this.label4.Size = new System.Drawing.Size(74, 13);

            this.label4.TabIndex = 4;

            this.label4.Text = "Должность";

            //

            // label3

            //

            this.label3.AutoSize = true;

            this.label3.Location = new System.Drawing.Point(6, 29);

            this.label3.Name = "label3";

            this.label3.Size = new System.Drawing.Size(49, 13);

            this.label3.TabIndex = 3;

            this.label3.Text = "Ф.И.О.";

            //

            // label2

            //

            this.label2.AutoSize = true;

            this.label2.Location = new System.Drawing.Point(171, 16);

            this.label2.Name = "label2";

            this.label2.Size = new System.Drawing.Size(41, 13);

            this.label2.TabIndex = 2;

            this.label2.Text = "label2";

            //

            // label1

            //

            this.label1.AutoSize = true;

            this.label1.Location = new System.Drawing.Point(6, 16);

            this.label1.Name = "label1";

            this.label1.Size = new System.Drawing.Size(159, 13);

            this.label1.TabIndex = 1;

            this.label1.Text = "Последний пользователь";

            //

            // textBox1

            //

            this.textBox1.Location = new System.Drawing.Point(9, 45);

            this.textBox1.Name = "textBox1";

            this.textBox1.Size = new System.Drawing.Size(234, 20);

            this.textBox1.TabIndex = 0;

            //

            // button1

            //

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

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