Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# retrieve files in folder

string[] filePaths = Directory.GetFiles(@"c:MyDir", "*.bmp",
                                         SearchOption.AllDirectories);
// returns:
// "c:MyDirmy-car.BMP"
// "c:MyDirFriendsjames.BMP"

Source by www.csharp-examples.net #
 
PREVIOUS NEXT
Tagged: #retrieve #files #folder
ADD COMMENT
Topic
Name
6+6 =