Created
June 13, 2021 12:47
-
-
Save im-ikao/4cb8cb066226d3efecefc38a4d00a6c5 to your computer and use it in GitHub Desktop.
[Get Filename]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Uri uri = new Uri(hreflink); | |
if (uri.IsFile) { | |
string filename = System.IO.Path.GetFileName(uri.LocalPath); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment