Virtual Network Interface
-
Hello. Can anybody tell me how to create a virtual network interface with the .Net Framework and VB.NET? Do I have to write a driver in general or is the .net framework able to do this? thx, Martin.
-
Hello. Can anybody tell me how to create a virtual network interface with the .Net Framework and VB.NET? Do I have to write a driver in general or is the .net framework able to do this? thx, Martin.
You'll have to write a device driver to do this. This is a task not suited to VB.NET or C#. Managed code can be run in Kernel mode, but all the Interop required to do this will slow down the driver considerably. Not to mention you'll be injecting the full weight of the .NET Runtime, about 20 MB worth, into Kernel space. Yuk! Examples and support will be VERY sparse. Your best language to do something like this is VC++...
Dave Kreskowiak Microsoft MVP - Visual Basic