常用方法
常用方法
常用方法
常用方法
public static bool HasExtension(this HttpPostedFileBase file, IEnumerable <string> expectedExtensions) { return(file.HasContentType(MimeTypeHelper.GetMany(expectedExtensions))); }