context.Response.Clear(); context.Response.ContentType = "video/mp4"; context.Response.Cache.SetCacheability(HttpCacheability.Private); context.Response.Expires = -1; context.Response.Buffer = true; context.Response.BinaryWrite(MyVideo); context.Response.End();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)