I want to know that for make sure that the file that will be download from my script will have the extension I want.
The file will not be at URLs like:
h
VirtualPathUtility.GetExtension(yourPath) returns the file extension from the specified path, including the leading period.
VirtualPathUtility.GetExtension(yourPath)