public IsPhotoFile ( string fileName ) : bool | ||
fileName | string | |
return | bool |
public bool IsPhotoFile(string fileName)
{
return UploadService.SupportedPhotoFormats.Contains(Path.GetExtension(fileName).ToLowerInvariant());
}