FileBase.ContentType Property

Definition

Gets or sets the file's content type as a MIME type (eg: image/png).

public string ContentType { get; set; }

Property Value

System.String

Applies to