RemoteDirectoryInfo.Exists issue


I got error using Exists property of RemoteDirectoryInfo class.
Whereas RemoteDirectory.Exist method returns successfully.
Attached is code that I used.
My output :
Device connected : WM_george:PocketPC
ProgramFiles=\Program Files
RemoteDirectory.Exists('\Program Files') = True
Error in RemoteDirectoryInfo('\Program Files').Exists : System.Devices.RapiException: The system cannot find the path specified
at System.Devices.RemoteDevice.ThrowRAPIException()
at System.Devices.RemoteFileSystemInfo.get_Exists()
at Rapi2Bugs.Program.Main(String[] args) in z:\HG\DME\Rapi2Bugs\Program.cs:line 27

file attachments

Closed Jul 27, 2009 at 5:10 PM by dahall
Newest source code drop has fix. Will include in next build of downloadable library.