Click here to Skip to main content
15,885,988 members
Articles / Desktop Programming / Windows Forms

NDIS MONITOR .NET 32-bit v1.00

Rate me:
Please Sign up or sign in to vote.
4.81/5 (36 votes)
27 Apr 20078 min read 176K   9.9K   90  
NDIS Monitor allows to catch and log the exchange of packet data between NDIS miniport drivers and network protocol modules that occurs in kernel space.
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;

namespace NdisMonitor
{
	/// <summary>
	/// Summary description for CapturePausedDlg.
	/// </summary>
	public class CapturePausedDlg : System.Windows.Forms.Form
	{
		private System.Windows.Forms.Label ctrlMsg;
		private System.Windows.Forms.Button ctrlOK;
		/// <summary>
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.Container components = null;

		public CapturePausedDlg()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			//
			// TODO: Add any constructor code after InitializeComponent call
			//
		}

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(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()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(CapturePausedDlg));
			this.ctrlMsg = new System.Windows.Forms.Label();
			this.ctrlOK = new System.Windows.Forms.Button();
			this.SuspendLayout();
			// 
			// ctrlMsg
			// 
			this.ctrlMsg.AutoSize = true;
			this.ctrlMsg.Location = new System.Drawing.Point(33, 24);
			this.ctrlMsg.Name = "ctrlMsg";
			this.ctrlMsg.Size = new System.Drawing.Size(226, 16);
			this.ctrlMsg.TabIndex = 1;
			this.ctrlMsg.Text = "Capture paused due to ESCAPE key stroke.";
			// 
			// ctrlOK
			// 
			this.ctrlOK.Location = new System.Drawing.Point(109, 64);
			this.ctrlOK.Name = "ctrlOK";
			this.ctrlOK.TabIndex = 0;
			this.ctrlOK.Text = "OK";
			this.ctrlOK.Click += new System.EventHandler(this.ctrlOK_Click);
			// 
			// CapturePausedDlg
			// 
			this.AcceptButton = this.ctrlOK;
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(292, 109);
			this.ControlBox = false;
			this.Controls.Add(this.ctrlOK);
			this.Controls.Add(this.ctrlMsg);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.MaximizeBox = false;
			this.MinimizeBox = false;
			this.Name = "CapturePausedDlg";
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			this.Text = "NDIS Monitor";
			this.ResumeLayout(false);

		}
		#endregion

		private void ctrlOK_Click(object sender, System.EventArgs e)
		{
			Close ();
		}
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Italy Italy
Vito is a former videogame programmer. Now, Vito is the founder and CEO of VPC Technologies, a company that specializes in online services. VPC Technologies also provides consulting, developing and training services to several italian companies and government agencies in the field of kernel, component, enterprise and tridimensional software, for the Microsoft Windows platform.

Vito has attended as a speaker several italian conferences and events on development and security, such as the Microsoft Security Roadshow 2006.

Vito is the man behind GoToTerminal, a secure, reliable and innovative web technology to control remote Microsoft Windows, Telnet and VNC servers over the internet. He is also the author of BugChecker, an independent research project to create the only clone of SoftICE to date, NDIS Monitor, MapGen and Image Downloader.

For more information, you can visit Vito Plantamura's technical website at www.VitoPlantamura.com.

Comments and Discussions