Was this page helpful?

FromFileExtension Method

    FromFileExtension(string filename)

    public static MimeType FromFileExtension(string filename);
    Derive a mime-type from a file extension.

    Parameters

    Name Type Description
    filename string Filename to get extension from.

    Returns

    Type: MimeType
    Best match mime-type.
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by