HttpPostedFileWrapper.ContentType Property

 

Gets the MIME content type of an uploaded file.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public override string ContentType { get; }

Property Value

Type: System.String

The MIME content type of the file.

.NET Framework
Available since 3.5
Return to top
Show: