Get file name from URI
- Gets file name from URI (URI string).
Uri uri = new Uri("http://server/folder/filename.ext"); string filename = Path.GetFileName(uri.LocalPath);
Uri uri = new Uri("http://server/folder/filename.ext"); string filename = Path.GetFileName(uri.LocalPath);