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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -