자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public static bool IsPostedFileIsImage(HttpPostedFile pfile) { return((pfile != null) && (pfile.ContentLength > 0) && (Regex.IsMatch(pfile.ContentType, "image/\\S+") || CFile.IsImageFileAvailableInBrowser(pfile.FileName))); }