You can follow this example. Its in VB.net, but is very easy to convert to C#.
http://www.picbasic.co.uk/forum/cont...-USB-to-VB.NET