HttpPostedFileWrapper.ContentType Property

 

Gets the MIME content type of an uploaded file.

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

Public Overrides ReadOnly Property ContentType As String

Property Value

Type: System.String

The MIME content type of the file.

.NET Framework
Available since 3.5
Return to top
Show: