Автор: Пользователь скрыл имя, 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
2) Lod.Designer.cs
namespace reg_comp_new
{
partial class Lod
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.
/// <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.
System.ComponentModel.
this.notifyIcon1 = new System.Windows.Forms.
this.contextMenuStrip1 = new
System.Windows.Forms.
this.infoToolStripMenuItem
= new System.Windows.Forms.
this.accToolStripMenuItem =
new System.Windows.Forms.
this.timer1 = new System.Windows.Forms.Timer(
this.pictureBox1 = new System.Windows.Forms.
this.contextMenuStrip1.
((System.ComponentModel.
this.SuspendLayout();
//
// notifyIcon1
//
this.notifyIcon1.
this.notifyIcon1.Icon = ((System.Drawing.Icon)(
this.notifyIcon1.Text = "RegComp";
this.notifyIcon1.Visible = true;
this.notifyIcon1.MouseMove
+= new System.Windows.Forms.
this.notifyIcon1.
//
// contextMenuStrip1
//
this.contextMenuStrip1.Items.
this.infoToolStripMenuItem,
this.accToolStripMenuItem});
this.contextMenuStrip1.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(137, 48);
this.contextMenuStrip1.Opening
+= new System.ComponentModel.
//
// infoToolStripMenuItem
//
this.infoToolStripMenuItem.
this.infoToolStripMenuItem.
this.infoToolStripMenuItem.
this.infoToolStripMenuItem.
//
// accToolStripMenuItem
//
this.accToolStripMenuItem.Name = "accToolStripMenuItem";
this.accToolStripMenuItem.Size = new System.Drawing.Size(136, 22);
this.accToolStripMenuItem.Text = "Вход";
this.accToolStripMenuItem.
//
// timer1
//
this.timer1.Enabled = true;
this.timer1.Interval = 10;
this.timer1.Tick += new System.EventHandler(this.
//
// pictureBox1
//
this.pictureBox1.Dock = System.Windows.Forms.
this.pictureBox1.Image = global::reg_comp_new.
this.pictureBox1.Location = new System.Drawing.Point(0, 0);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(251, 185);
this.pictureBox1.SizeMode =
System.Windows.Forms.
this.pictureBox1.TabIndex = 1;
this.pictureBox1.TabStop = false;
//
// Lod
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.
this.ClientSize = new System.Drawing.Size(251, 185);
this.Controls.Add(this.
this.FormBorderStyle = System.Windows.Forms.
this.Name = "Lod";
this.StartPosition = System.Windows.Forms.
this.Text = "Lod";
this.contextMenuStrip1.
((System.ComponentModel.
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.
private System.Windows.Forms.
private System.Windows.Forms.
private System.Windows.Forms.
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.
}
3) logins.Designer.cs
namespace reg_comp_new
{
partial class logins
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.
/// <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.label2 = new System.Windows.Forms.Label();
this.textBox2 = new System.Windows.Forms.TextBox()
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.groupBox1.SuspendLayout()
this.SuspendLayout();
//
// groupBox1
//
this.groupBox1.Controls.Add(
this.groupBox1.Controls.Add(
this.groupBox1.Controls.Add(
this.groupBox1.Controls.Add(
this.groupBox1.Font = new System.Drawing.Font("Microsoft Sans Serif",
8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.
this.groupBox1.Location = new System.Drawing.Point(12, 12);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(227, 125);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Авторизация";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(6, 68);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(51, 13);
this.label2.TabIndex = 3;
this.label2.Text = "Пароль";
//
// textBox2
//
this.textBox2.Location = new System.Drawing.Point(6, 84);
this.textBox2.Name = "textBox2";
this.textBox2.PasswordChar = '#';
this.textBox2.Size = new System.Drawing.Size(215, 20);
this.textBox2.TabIndex = 2;
this.textBox2.KeyPress += new System.Windows.Forms.
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(3, 25);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(43, 13);
this.label1.TabIndex = 1;
this.label1.Text = "Логин";
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(6, 41);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(215, 20);
this.textBox1.TabIndex = 0;
this.textBox1.TextChanged += new System.EventHandler(this.
//
// button1
//
this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif",
8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.
this.button1.Location = new System.Drawing.Point(163, 144);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 33);
this.button1.TabIndex = 1;
this.button1.Text = "Отмена";
this.button1.
this.button1.Click += new System.EventHandler(this.
//
// button2
//
this.button2.Font = new System.Drawing.Font("Microsoft Sans Serif",
8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.
this.button2.Location = new System.Drawing.Point(82, 143);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(75, 34);
this.button2.TabIndex = 2;
this.button2.Text = "ОК";
this.button2.
this.button2.Click += new System.EventHandler(this.
//
// logins
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.
this.ClientSize = new System.Drawing.Size(246, 189);
this.Controls.Add(this.
this.Controls.Add(this.
this.Controls.Add(this.
this.FormBorderStyle = System.Windows.Forms.
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "logins";
this.StartPosition = System.Windows.Forms.
this.Text = "Вход";
Информация о работе Программа регистрации компьютеров с сети