the C# version of the LibNet