heribertolugo / FileList

List all files in a given directory, and provide the option to copy or move selected files.
1 stars 0 forks source link

Exception Getting Shell #90

Open heribertolugo opened 2 years ago

heribertolugo commented 2 years ago

At the moment folders are attempting to be retrieved using IShell.NameSpace. A try catch is being used for when shell times out. We should check for null shell instead, as to avoid the exception being thrown.

Project: Common File: FileData.cs Method: GetShell() Code: _Folder folder = this.shell.NameSpace(System.IO.Path.GetDirectoryName(this.Path));