Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
protected static string DetermineContentType(string filename) { var extension = IoHelper.GetExtension(filename); if (string.IsNullOrEmpty(extension)) { return("x-application/unknown"); } return(MimeTypes.GetTypeByExtenstion(extension)); }