i need source code in .net to read traps