cómo establecer el valor HttpPostedFileBase ContentType en tiempo de ejecución

¿Cómo establecer el valor HttpPostedFileBase ContentType en tiempo de ejecución?

    HttpPostedFileBase upl=null;
    string path="/exelFile/book1.xlsx";

    //-----Set Name Runtime 
    var Name="FileName.xlsx";
    //-----Set Type Runtime 
    var type="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";         
    byte[] bytes =System.IO.File.ReadAllBytes(Server.MapPath(Path));
    upl = (HttpPostedFileBase)new MemoryPostedFile(bytes, Name);

    //=====>how set type
    upl.ContentType 
    //==============

Respuestas a la pregunta(1)

Su respuesta a la pregunta