AWS SDK for .NET Documentation
MimeTypeFromExtension Method (ext)
Amazon
►
Amazon.S3.Util
►
AmazonS3Util
►
MimeTypeFromExtension(String)
C#
Did this page help you?
Yes
No
Tell us about it...
Determines MIME type from a file extension
Declaration Syntax
C#
public
static
string
MimeTypeFromExtension
(
string
ext
)
Parameters
ext
(
String
)
The extension of the file
Return Value
The MIME type for the extension, or text/plain
Assembly:
AWSSDK
(Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)