c# application,USB unplugged in window 8.1 OS

Jun 21 2015 3:56 AM
i have written code in c# for USB read and write using WINUSBNET library,after some time my device automatically  un-plugged by OS and program exit with error code.
Managed (v4.0.30319)' has exited with code 0 (0x0).