c# - How can I determine if a string is a local folder string or a network string? -
how can determine in c# if string local folder string or network string besides regular expression?
for example:
i have string can "c:\a"
or "\\foldera\folderb"
new uri(mypath).isunc
Comments
Post a Comment