How can I have a webservice read/browse a folder content ?
For instance this type of code:
FolderBrowserDialog folderBrowser;
folderBrowser = new System.Windows.Forms.FolderBrowserDialog();
folderBrowser.Description = "...";
folderBrowser.ShowNewFolderButton = false;
folderBrowser.RootFolder = Environment.SpecialFolder.MyComputer;
When I build the solution I get this error...
The type or namespace name 'FolderBrowserDialog' could not be found (are you missing a using directive or an assembly reference?)
I know it doesn't make a lot of sense trying to use a dialog in a webservice but how else can I do it?
My webservice receives a string and then I want to browse for files that contain that string in a folder.