Check out the Route building guide
Sets the enctype attribute
@using (Html.BuildForm("Upload", "File").EncType(FormEncType.MultipartData).Begin()) { }
creates this HTML:
<form action="/File/Upload" enctype="multipart/form-data"> </form>