Use
VirtualPathUtility
to obtain information like requested path, extension etc in web environment. It is Web version of System.IO.PathVirtualPathUtility.GetExtension(HttpContext.Current.Request.RawUrl)
No comments :
Post a Comment
What are your thoughts on this post? Did you like it?