MediaTypes Class
Contains most commonly used MediaType values.
- Inheritance:
- System.ObjectMediaTypes
Fields
ApplicationAtom
The application/atom+xml media type.
public static readonly MediaType ApplicationAtom
Public Shared ReadOnly ApplicationAtom As MediaType
Field Value
ApplicationDeb
The application/x-deb media type.
public static readonly MediaType ApplicationDeb
Public Shared ReadOnly ApplicationDeb As MediaType
Field Value
ApplicationDvi
The application/x-dvi media type.
public static readonly MediaType ApplicationDvi
Public Shared ReadOnly ApplicationDvi As MediaType
Field Value
ApplicationEcmaScript
The application/ecmascript media type.
public static readonly MediaType ApplicationEcmaScript
Public Shared ReadOnly ApplicationEcmaScript As MediaType
Field Value
ApplicationExcel
The application/vnd.ms-excel media type.
public static readonly MediaType ApplicationExcel
Public Shared ReadOnly ApplicationExcel As MediaType
Field Value
ApplicationExcelx
The application/vnd.openxmlformats-officedocument.spreadsheetml.sheet media type.
public static readonly MediaType ApplicationExcelx
Public Shared ReadOnly ApplicationExcelx As MediaType
Field Value
ApplicationFont
The application/font-woff media type.
public static readonly MediaType ApplicationFont
Public Shared ReadOnly ApplicationFont As MediaType
Field Value
ApplicationFormEncodedData
The application/x-www-form-urlencoded media type.
public static readonly MediaType ApplicationFormEncodedData
Public Shared ReadOnly ApplicationFormEncodedData As MediaType
Field Value
ApplicationGoogleWebToolkit
The application/x-gwt-rpc media type.
public static readonly MediaType ApplicationGoogleWebToolkit
Public Shared ReadOnly ApplicationGoogleWebToolkit As MediaType
Field Value
ApplicationGzip
The application/application/x-gzip media type.
public static readonly MediaType ApplicationGzip
Public Shared ReadOnly ApplicationGzip As MediaType
Field Value
ApplicationJavascript
The application/javascript media type.
public static readonly MediaType ApplicationJavascript
Public Shared ReadOnly ApplicationJavascript As MediaType
Field Value
ApplicationJquery
The application/x-jquery-tmpl media type.
public static readonly MediaType ApplicationJquery
Public Shared ReadOnly ApplicationJquery As MediaType
Field Value
ApplicationJson
The application/json media type.
public static readonly MediaType ApplicationJson
Public Shared ReadOnly ApplicationJson As MediaType
Field Value
ApplicationKml
The application/vnd.google-earth.kml+xml media type.
public static readonly MediaType ApplicationKml
Public Shared ReadOnly ApplicationKml As MediaType
Field Value
ApplicationLatex
The application/x-latex media type.
public static readonly MediaType ApplicationLatex
Public Shared ReadOnly ApplicationLatex As MediaType
Field Value
ApplicationOctetStream
The application/octet-stream media type.
public static readonly MediaType ApplicationOctetStream
Public Shared ReadOnly ApplicationOctetStream As MediaType
Field Value
ApplicationOpenDocumentGraphics
The application/vnd.oasis.opendocument.graphics media type.
public static readonly MediaType ApplicationOpenDocumentGraphics
Public Shared ReadOnly ApplicationOpenDocumentGraphics As MediaType
Field Value
ApplicationOpenDocumentPresentation
The application/vnd.oasis.opendocument.presentation media type.
public static readonly MediaType ApplicationOpenDocumentPresentation
Public Shared ReadOnly ApplicationOpenDocumentPresentation As MediaType
Field Value
ApplicationOpenDocumentSpreadsheet
The application/vnd.oasis.opendocument.spreadsheet media type.
public static readonly MediaType ApplicationOpenDocumentSpreadsheet
Public Shared ReadOnly ApplicationOpenDocumentSpreadsheet As MediaType
Field Value
ApplicationOpenDocumentText
The application/application/vnd.oasis.opendocument.text media type.
public static readonly MediaType ApplicationOpenDocumentText
Public Shared ReadOnly ApplicationOpenDocumentText As MediaType
Field Value
ApplicationOutlook
The application/vnd.ms-outlook media type.
public static readonly MediaType ApplicationOutlook
Public Shared ReadOnly ApplicationOutlook As MediaType
Field Value
ApplicationPdf
The application/pdf media type.
public static readonly MediaType ApplicationPdf
Public Shared ReadOnly ApplicationPdf As MediaType
Field Value
ApplicationPKCS7Mime
The application/pkcs7-mime media type.
public static readonly MediaType ApplicationPKCS7Mime
Public Shared ReadOnly ApplicationPKCS7Mime As MediaType
Field Value
ApplicationPKCS7Signature
The application/pkcs7-signature media type.
public static readonly MediaType ApplicationPKCS7Signature
Public Shared ReadOnly ApplicationPKCS7Signature As MediaType
Field Value
ApplicationPostscript
The application/postscript media type.
public static readonly MediaType ApplicationPostscript
Public Shared ReadOnly ApplicationPostscript As MediaType
Field Value
ApplicationPowerpoint
The application/vnd.ms-powerpoint media type.
public static readonly MediaType ApplicationPowerpoint
Public Shared ReadOnly ApplicationPowerpoint As MediaType
Field Value
ApplicationPowerpointx
The application/vnd.openxmlformats-officedocument.presentationml.presentation media type.
public static readonly MediaType ApplicationPowerpointx
Public Shared ReadOnly ApplicationPowerpointx As MediaType
Field Value
ApplicationRar
The application/x-rar-compressed media type.
public static readonly MediaType ApplicationRar
Public Shared ReadOnly ApplicationRar As MediaType
Field Value
ApplicationRss
The application/rss+xml media type.
public static readonly MediaType ApplicationRss
Public Shared ReadOnly ApplicationRss As MediaType
Field Value
ApplicationRtf
The application/rtf media type.
public static readonly MediaType ApplicationRtf
Public Shared ReadOnly ApplicationRtf As MediaType
Field Value
ApplicationSoap
The application/soap+xml media type.
public static readonly MediaType ApplicationSoap
Public Shared ReadOnly ApplicationSoap As MediaType
Field Value
ApplicationStuffit
The application/x-stuffit media type.
public static readonly MediaType ApplicationStuffit
Public Shared ReadOnly ApplicationStuffit As MediaType
Field Value
ApplicationSwf
The application/x-shockwave-flash media type.
public static readonly MediaType ApplicationSwf
Public Shared ReadOnly ApplicationSwf As MediaType
Field Value
ApplicationTar
The application/x-tar media type.
public static readonly MediaType ApplicationTar
Public Shared ReadOnly ApplicationTar As MediaType
Field Value
ApplicationTtf
The application/x-font-ttf media type.
public static readonly MediaType ApplicationTtf
Public Shared ReadOnly ApplicationTtf As MediaType
Field Value
ApplicationWord
The application/msword media type.
public static readonly MediaType ApplicationWord
Public Shared ReadOnly ApplicationWord As MediaType
Field Value
ApplicationWordx
The application/vnd.openxmlformats-officedocument.wordprocessingml.document media type.
public static readonly MediaType ApplicationWordx
Public Shared ReadOnly ApplicationWordx As MediaType
Field Value
ApplicationXml
The application/xml-dtd media type.
public static readonly MediaType ApplicationXml
Public Shared ReadOnly ApplicationXml As MediaType
Field Value
ApplicationXPKCS7Mime
The application/x-pkcs7-mime media type.
public static readonly MediaType ApplicationXPKCS7Mime
Public Shared ReadOnly ApplicationXPKCS7Mime As MediaType
Field Value
ApplicationXul
The application/vnd.mozilla.xul+xml media type.
public static readonly MediaType ApplicationXul
Public Shared ReadOnly ApplicationXul As MediaType
Field Value
ApplicationZip
The application/zip media type.
public static readonly MediaType ApplicationZip
Public Shared ReadOnly ApplicationZip As MediaType
Field Value
AudioBasic
The audio/basic media type.
Field Value
AudioMp4
The audio/mp4 media type.
Field Value
AudioMpeg
The audio/mpeg media type.
Field Value
AudioOgg
The audio/ogg media type.
Field Value
AudioPcm
The audio/L24 media type.
Field Value
AudioRealAudio
The audio/vnd.rn-realaudio media type.
public static readonly MediaType AudioRealAudio
Public Shared ReadOnly AudioRealAudio As MediaType
Field Value
AudioVorbis
The audio/vorbis media type.
Field Value
AudioWav
The audio/vnd.wave media type.
Field Value
AudioWax
The audio/x-ms-wax media type.
Field Value
AudioWebm
The audio/webm media type.
Field Value
AudioWma
The audio/x-ms-wma media type.
Field Value
ImageGif
The image/gif media type.
Field Value
ImageIco
The image/vnd.microsoft.icon media type.
Field Value
ImageJpeg
The image/jpeg media type.
Field Value
ImagePjpeg
The image/pjpeg media type.
Field Value
ImagePng
The image/png media type.
Field Value
ImageSvg
The image/svg media type.
Field Value
ImageTiff
The image/tiff media type.
Field Value
MessagePartial
The message/partial media type.
public static readonly MediaType MessagePartial
Public Shared ReadOnly MessagePartial As MediaType
Field Value
MessageRfc822
The message/rfc822 media type.
public static readonly MediaType MessageRfc822
Public Shared ReadOnly MessageRfc822 As MediaType
Field Value
MultipartAlternative
The multipart/alternative media type.
public static readonly MediaType MultipartAlternative
Public Shared ReadOnly MultipartAlternative As MediaType
Field Value
MultipartDigest
The multipart/digest media type.
public static readonly MediaType MultipartDigest
Public Shared ReadOnly MultipartDigest As MediaType
Field Value
MultipartEncrypted
The multipart/encrypted media type.
public static readonly MediaType MultipartEncrypted
Public Shared ReadOnly MultipartEncrypted As MediaType
Field Value
MultipartMixed
The multipart/mixed media type.
public static readonly MediaType MultipartMixed
Public Shared ReadOnly MultipartMixed As MediaType
Field Value
MultipartParallel
The multipart/parallel media type.
public static readonly MediaType MultipartParallel
Public Shared ReadOnly MultipartParallel As MediaType
Field Value
MultipartRelated
The multipart/related media type.
public static readonly MediaType MultipartRelated
Public Shared ReadOnly MultipartRelated As MediaType
Field Value
MultipartSigned
The multipart/signed media type.
public static readonly MediaType MultipartSigned
Public Shared ReadOnly MultipartSigned As MediaType
Field Value
TextCalendar
The text/calendar media type.
public static readonly MediaType TextCalendar
Public Shared ReadOnly TextCalendar As MediaType
Field Value
TextCmd
The text/cmd media type.
Field Value
TextCss
The text/css media type.
Field Value
TextCsv
The text/csv media type.
Field Value
TextHtml
The text/html media type.
Field Value
TextJavaScript
The text/javascript media type.
public static readonly MediaType TextJavaScript
Public Shared ReadOnly TextJavaScript As MediaType
Field Value
TextPlain
The text/plain media type.
Field Value
TextVCard
The text/vcard media type.
Field Value
TextXml
The text/xml media type.
Field Value
VideoMkv
The video/x-matroska media type.
Field Value
VideoMp4
The video/mp4 media type.
Field Value
VideoMpeg
The video/mpeg media type.
Field Value
VideoOgg
The video/ogg media type.
Field Value
VideoQuickTime
The video/quicktime media type.
public static readonly MediaType VideoQuickTime
Public Shared ReadOnly VideoQuickTime As MediaType
Field Value
VideoWebm
The video/webm media type.
Field Value
VideoWmv
The video/x-ms-wmv media type.