I try to hash URL (video path) that I uploaded to SQL data base I use this code to create path of video
//Upload converted video, and the corresponding information stored in the database
protected void btnUpVideo_Click(object sender, EventArgs e)
{
ClientScriptManager cs = Page.ClientScript;
//Get the name of the uploaded file
string upFileName = fileupVideo.FileName;
//Determine whether a file is selected
if (this.fileupVideo.HasFile)
{
//Get the file extension
string upExtension = upFileName.Substring(upFileName.LastIndexOf(".") + 1);
//Judgment that the extension is correct
if (checkExtension(upExtension))
{
//Access to upload files saved path
string upFilePath = Server.MapPath("../upFile/") + upFileName;
//Save the file to the specified path
fileupVide ...
Go to the complete details ...