Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# check if string is directory

File.GetAttributes(data.Path).HasFlag(FileAttributes.Directory)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #string #directory
ADD COMMENT
Topic
Name
4+8 =