|
using System;
using NdisMonitor;
using System.Windows.Forms;
namespace NdisMonitor
{
//
// The definition of the attribute that has to be associated to an Extension Class.
//
[ AttributeUsage( AttributeTargets.Class, AllowMultiple = false, Inherited = false ) ]
public class ExtensionAttribute : System.Attribute
{
// construction.
public ExtensionAttribute ( string name )
{
this._name = name;
}
// data.
protected string _name = "";
// public properties.
public string Name
{
get
{
return _name;
}
}
}
//
// The definition of the interface that an Extension Class has to implement.
//
public delegate void LogFn( string s );
public delegate bool ProcessNextPacketFn( RawPacket rp, NdisHookStubs.NEXT_PACKET np, int ord, DateTime tm );
public delegate bool UserCommandFn( string s );
public interface INmExtension
{
bool ProcessNextPacket( RawPacket rp, NdisHookStubs.NEXT_PACKET np, int ord, DateTime tm );
void Showing ( LogFn logFn, NdisHookStubs.NT_PROTOCOL_LIST protList, MenuItem popupMenu );
void Hiding ();
void DeleteAllPackets ();
void Disposing ();
bool UserCommand( string s );
}
}
|
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.
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
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.