This tutorial show you a simple example to explain how to invoke Win32 API in ASP.NET 2.0 and VB.NET.

To invoke Win32 API using ASP.NET 2.0 and C# 2.0 is actually very simple.

First, you will need to import the namespaces

Then, add two controls to web page, a Button and a Label control

Add a function for displaying the time interval between mouse clicks of the button

Download Source Files