Don't expect his performance when it is developed in .NET Compact Framework (CF), there is still a lot of problems even in the current SP2.
On WIN CE, there is no drive concept, so you want to use system.io.directory.getCurrentDirectory () to get the current path, you will encounter an unknown error in CF. It should be obtained using path.getdirectoryName (system.reflection.assembly (). GetName (). Codebase).