namespace TestProject;
/// <summary>
/// MIME 타입 헬퍼
/// </summary>
public class MIMETypeHelper
{
//////////////////////////////////////////////////////////////////////////////////////////////////// Field
////////////////////////////////////////////////////////////////////////////////////////// Static
//////////////////////////////////////////////////////////////////////////////// Private
#region Field
/// <summary>
/// 알려진 타입 리스트
/// </summary>
private static List<string> _knownTypeList;
/// <summary>
/// MIME 타입 딕셔너리
/// </summary>
private static Dictionary<string, string> _mimeTypeDictionary;
#endregion
//////////////////////////////////////////////////////////////////////////////////////////////////// Property
////////////////////////////////////////////////////////////////////////////////////////// Static
//////////////////////////////////////////////////////////////////////////////// Public
#region 알려진 타입 리스트 - KnownTypeList
/// <summary>
/// 알려진 타입 리스트
/// </summary>
public static List<string> KnownTypeList
{
get
{
return _knownTypeList;
}
}
#endregion
#region MIME 타입 딕셔너리 - MIMETypeDictionary
/// <summary>
/// MIME 타입 딕셔너리
/// </summary>
public static Dictionary<string, string> MIMETypeDictionary
{
get
{
return _mimeTypeDictionary;
}
}
#endregion
//////////////////////////////////////////////////////////////////////////////////////////////////// Constructor
////////////////////////////////////////////////////////////////////////////////////////// Static
#region 생성자 - MIMETypeHelper()
/// <summary>
/// 생성자
/// </summary>
static MIMETypeHelper()
{
Initialize();
}
#endregion
//////////////////////////////////////////////////////////////////////////////////////////////////// Method
////////////////////////////////////////////////////////////////////////////////////////// Static
//////////////////////////////////////////////////////////////////////////////// Public
#region 초기화하기 - Initialize()
/// <summary>
/// 초기화하기
/// </summary>
private static void Initialize()
{
_knownTypeList = new string[]
{
"application/atom+xml",
"application/directx",
"application/envoy",
"application/fractals",
"application/futuresplash",
"application/hta",
"application/internet-property-stream",
"application/java-archive",
"application/liquidmotion",
"application/mac-binhex40",
"application/msaccess",
"application/msword",
"application/octet-stream",
"application/oda",
"application/oleobject",
"application/olescript",
"application/onenote",
"application/opensearchdescription+xml",
"application/pdf",
"application/pics-rules",
"application/pkcs10",
"application/pkcs7-mime",
"application/pkcs7-signature",
"application/pkix-crl",
"application/postscript",
"application/rtf",
"application/set-payment-initiation",
"application/set-registration-initiation",
"application/streamingmedia",
"application/vnd.fdf",
"application/vnd.ms-excel",
"application/vnd.ms-excel.addin.macroEnabled.12",
"application/vnd.ms-excel.sheet.binary.macroEnabled.12",
"application/vnd.ms-excel.sheet.macroEnabled.12",
"application/vnd.ms-excel.template.macroEnabled.12",
"application/vnd.ms-office.calx",
"application/vnd.ms-officetheme",
"application/vnd.ms-pki.certstore",
"application/vnd.ms-pki.pko",
"application/vnd.ms-pki.seccat",
"application/vnd.ms-pki.stl",
"application/vnd.ms-powerpoint",
"application/vnd.ms-powerpoint.addin.macroEnabled.12",
"application/vnd.ms-powerpoint.presentation.macroEnabled.12",
"application/vnd.ms-powerpoint.slide.macroEnabled.12",
"application/vnd.ms-powerpoint.slideshow.macroEnabled.12",
"application/vnd.ms-powerpoint.template.macroEnabled.12",
"application/vnd.ms-project",
"application/vnd.ms-visio.viewer",
"application/vnd.ms-word.document.macroEnabled.12",
"application/vnd.ms-word.template.macroEnabled.12",
"application/vnd.ms-works",
"application/vnd.ms-xpsdocument",
"application/vnd.openxmlformats-officedocument.presentationml.presentation",
"application/vnd.openxmlformats-officedocument.presentationml.slide",
"application/vnd.openxmlformats-officedocument.presentationml.slideshow",
"application/vnd.openxmlformats-officedocument.presentationml.template",
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"application/vnd.openxmlformats-officedocument.spreadsheetml.template",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"application/vnd.openxmlformats-officedocument.wordprocessingml.template",
"application/vnd.rn-realmedia",
"application/vnd.visio",
"application/vnd.wap.wmlc",
"application/vnd.wap.wmlscriptc",
"application/winhlp",
"application/xaml+xml",
"application/x-bcpio",
"application/x-cdf",
"application/x-compress",
"application/x-compressed",
"application/x-cpio",
"application/x-csh",
"application/x-director",
"application/x-dvi",
"application/x-gtar",
"application/x-gzip",
"application/x-hdf",
"application/x-internet-signup",
"application/x-iphone",
"application/x-java-applet",
"application/x-javascript",
"application/x-latex",
"application/x-miva-compiled",
"application/x-msaccess",
"application/x-ms-application",
"application/x-mscardfile",
"application/x-msclip",
"application/x-msdownload",
"application/x-ms-manifest",
"application/x-msmediaview",
"application/x-msmetafile",
"application/x-msmoney",
"application/x-mspublisher",
"application/x-ms-reader",
"application/x-msschedule",
"application/x-msterminal",
"application/x-ms-vsto",
"application/x-ms-wmd",
"application/x-ms-wmz",
"application/x-mswrite",
"application/x-ms-xbap",
"application/x-netcdf",
"application/x-oleobject",
"application/x-perfmon",
"application/x-pkcs12",
"application/x-pkcs7-certificates",
"application/x-pkcs7-certreqresp",
"application/x-quicktimeplayer",
"application/x-sh",
"application/x-shar",
"application/x-shockwave-flash",
"application/x-silverlight-app",
"application/x-smaf",
"application/x-stuffit",
"application/x-sv4cpio",
"application/x-sv4crc",
"application/x-tar",
"application/x-tcl",
"application/x-tex",
"application/x-texinfo",
"application/x-troff",
"application/x-troff-man",
"application/x-troff-me",
"application/x-troff-ms",
"application/x-ustar",
"application/x-wais-source",
"application/x-x509-ca-cert",
"application/x-zip-compressed",
"audio/aiff",
"audio/basic",
"audio/mid",
"audio/mpeg",
"audio/wav",
"audio/x-aiff",
"audio/x-mpegurl",
"audio/x-ms-wax",
"audio/x-ms-wma",
"audio/x-pn-realaudio",
"audio/x-pn-realaudio-plugin",
"audio/x-smd",
"drawing/x-dwf",
"image/bmp",
"image/cis-cod",
"image/gif",
"image/ief",
"image/jpeg",
"image/pjpeg",
"image/png",
"image/tiff",
"image/vnd.rn-realflash",
"image/vnd.wap.wbmp",
"image/x-cmu-raster",
"image/x-cmx",
"image/x-icon",
"image/x-jg",
"image/x-portable-anymap",
"image/x-portable-bitmap",
"image/x-portable-graymap",
"image/x-portable-pixmap",
"image/x-rgb",
"image/x-xbitmap",
"image/x-xpixmap",
"image/x-xwindowdump",
"message/rfc822",
"text/css",
"text/dlm",
"text/h323",
"text/html",
"text/iuls",
"text/jscript",
"text/plain",
"text/richtext",
"text/scriptlet",
"text/sgml",
"text/tab-separated-values",
"text/vbscript",
"text/vnd.wap.wml",
"text/vnd.wap.wmlscript",
"text/webviewhtml",
"text/x-component",
"text/x-hdml",
"text/xml",
"text/x-ms-odc",
"text/x-setext",
"text/x-vcard",
"video/mpeg",
"video/quicktime",
"video/x-flv",
"video/x-ivf",
"video/x-la-asf",
"video/x-ms-asf",
"video/x-msvideo",
"video/x-ms-wm",
"video/x-ms-wmp",
"video/x-ms-wmv",
"video/x-ms-wmx",
"video/x-ms-wvx",
"video/x-sgi-movie",
"x-world/x-vrml"
}.ToList();
_mimeTypeDictionary = new Dictionary<string, string>();
_mimeTypeDictionary.Add(".323" , "text/h323" );
_mimeTypeDictionary.Add(".aaf" , "application/octet-stream" );
_mimeTypeDictionary.Add(".aca" , "application/octet-stream" );
_mimeTypeDictionary.Add(".accdb" , "application/msaccess" );
_mimeTypeDictionary.Add(".accde" , "application/msaccess" );
_mimeTypeDictionary.Add(".accdt" , "application/msaccess" );
_mimeTypeDictionary.Add(".acx" , "application/internet-property-stream" );
_mimeTypeDictionary.Add(".afm" , "application/octet-stream" );
_mimeTypeDictionary.Add(".ai" , "application/postscript" );
_mimeTypeDictionary.Add(".aif" , "audio/x-aiff" );
_mimeTypeDictionary.Add(".aifc" , "audio/aiff" );
_mimeTypeDictionary.Add(".aiff" , "audio/aiff" );
_mimeTypeDictionary.Add(".application", "application/x-ms-application" );
_mimeTypeDictionary.Add(".art" , "image/x-jg" );
_mimeTypeDictionary.Add(".asd" , "application/octet-stream" );
_mimeTypeDictionary.Add(".asf" , "video/x-ms-asf" );
_mimeTypeDictionary.Add(".asi" , "application/octet-stream" );
_mimeTypeDictionary.Add(".asm" , "text/plain" );
_mimeTypeDictionary.Add(".asr" , "video/x-ms-asf" );
_mimeTypeDictionary.Add(".asx" , "video/x-ms-asf" );
_mimeTypeDictionary.Add(".atom" , "application/atom+xml" );
_mimeTypeDictionary.Add(".au" , "audio/basic" );
_mimeTypeDictionary.Add(".avi" , "video/x-msvideo" );
_mimeTypeDictionary.Add(".axs" , "application/olescript" );
_mimeTypeDictionary.Add(".bas" , "text/plain" );
_mimeTypeDictionary.Add(".bcpio" , "application/x-bcpio" );
_mimeTypeDictionary.Add(".bin" , "application/octet-stream" );
_mimeTypeDictionary.Add(".bmp" , "image/bmp" );
_mimeTypeDictionary.Add(".c" , "text/plain" );
_mimeTypeDictionary.Add(".cab" , "application/octet-stream" );
_mimeTypeDictionary.Add(".calx" , "application/vnd.ms-office.calx" );
_mimeTypeDictionary.Add(".cat" , "application/vnd.ms-pki.seccat" );
_mimeTypeDictionary.Add(".cdf" , "application/x-cdf" );
_mimeTypeDictionary.Add(".chm" , "application/octet-stream" );
_mimeTypeDictionary.Add(".class" , "application/x-java-applet" );
_mimeTypeDictionary.Add(".clp" , "application/x-msclip" );
_mimeTypeDictionary.Add(".cmx" , "image/x-cmx" );
_mimeTypeDictionary.Add(".cnf" , "text/plain" );
_mimeTypeDictionary.Add(".cod" , "image/cis-cod" );
_mimeTypeDictionary.Add(".cpio" , "application/x-cpio" );
_mimeTypeDictionary.Add(".cpp" , "text/plain" );
_mimeTypeDictionary.Add(".crd" , "application/x-mscardfile" );
_mimeTypeDictionary.Add(".crl" , "application/pkix-crl" );
_mimeTypeDictionary.Add(".crt" , "application/x-x509-ca-cert" );
_mimeTypeDictionary.Add(".csh" , "application/x-csh" );
_mimeTypeDictionary.Add(".css" , "text/css" );
_mimeTypeDictionary.Add(".csv" , "application/octet-stream" );
_mimeTypeDictionary.Add(".cur" , "application/octet-stream" );
_mimeTypeDictionary.Add(".dcr" , "application/x-director" );
_mimeTypeDictionary.Add(".deploy" , "application/octet-stream" );
_mimeTypeDictionary.Add(".der" , "application/x-x509-ca-cert" );
_mimeTypeDictionary.Add(".dib" , "image/bmp" );
_mimeTypeDictionary.Add(".dir" , "application/x-director" );
_mimeTypeDictionary.Add(".disco" , "text/xml" );
_mimeTypeDictionary.Add(".dll" , "application/x-msdownload" );
_mimeTypeDictionary.Add(".dll.config" , "text/xml" );
_mimeTypeDictionary.Add(".dlm" , "text/dlm" );
_mimeTypeDictionary.Add(".doc" , "application/msword" );
_mimeTypeDictionary.Add(".docm" , "application/vnd.ms-word.document.macroEnabled.12" );
_mimeTypeDictionary.Add(".docx" , "application/vnd.openxmlformats-officedocument.wordprocessingml.document" );
_mimeTypeDictionary.Add(".dot" , "application/msword" );
_mimeTypeDictionary.Add(".dotm" , "application/vnd.ms-word.template.macroEnabled.12" );
_mimeTypeDictionary.Add(".dotx" , "application/vnd.openxmlformats-officedocument.wordprocessingml.template" );
_mimeTypeDictionary.Add(".dsp" , "application/octet-stream" );
_mimeTypeDictionary.Add(".dtd" , "text/xml" );
_mimeTypeDictionary.Add(".dvi" , "application/x-dvi" );
_mimeTypeDictionary.Add(".dwf" , "drawing/x-dwf" );
_mimeTypeDictionary.Add(".dwp" , "application/octet-stream" );
_mimeTypeDictionary.Add(".dxr" , "application/x-director" );
_mimeTypeDictionary.Add(".eml" , "message/rfc822" );
_mimeTypeDictionary.Add(".emz" , "application/octet-stream" );
_mimeTypeDictionary.Add(".eot" , "application/octet-stream" );
_mimeTypeDictionary.Add(".eps" , "application/postscript" );
_mimeTypeDictionary.Add(".etx" , "text/x-setext" );
_mimeTypeDictionary.Add(".evy" , "application/envoy" );
_mimeTypeDictionary.Add(".exe" , "application/octet-stream" );
_mimeTypeDictionary.Add(".exe.config" , "text/xml" );
_mimeTypeDictionary.Add(".fdf" , "application/vnd.fdf" );
_mimeTypeDictionary.Add(".fif" , "application/fractals" );
_mimeTypeDictionary.Add(".fla" , "application/octet-stream" );
_mimeTypeDictionary.Add(".flr" , "x-world/x-vrml" );
_mimeTypeDictionary.Add(".flv" , "video/x-flv" );
_mimeTypeDictionary.Add(".gif" , "image/gif" );
_mimeTypeDictionary.Add(".gtar" , "application/x-gtar" );
_mimeTypeDictionary.Add(".gz" , "application/x-gzip" );
_mimeTypeDictionary.Add(".h" , "text/plain" );
_mimeTypeDictionary.Add(".hdf" , "application/x-hdf" );
_mimeTypeDictionary.Add(".hdml" , "text/x-hdml" );
_mimeTypeDictionary.Add(".hhc" , "application/x-oleobject" );
_mimeTypeDictionary.Add(".hhk" , "application/octet-stream" );
_mimeTypeDictionary.Add(".hhp" , "application/octet-stream" );
_mimeTypeDictionary.Add(".hlp" , "application/winhlp" );
_mimeTypeDictionary.Add(".hqx" , "application/mac-binhex40" );
_mimeTypeDictionary.Add(".hta" , "application/hta" );
_mimeTypeDictionary.Add(".htc" , "text/x-component" );
_mimeTypeDictionary.Add(".htm" , "text/html" );
_mimeTypeDictionary.Add(".html" , "text/html" );
_mimeTypeDictionary.Add(".htt" , "text/webviewhtml" );
_mimeTypeDictionary.Add(".hxt" , "text/html" );
_mimeTypeDictionary.Add(".ico" , "image/x-icon" );
_mimeTypeDictionary.Add(".ics" , "application/octet-stream" );
_mimeTypeDictionary.Add(".ief" , "image/ief" );
_mimeTypeDictionary.Add(".iii" , "application/x-iphone" );
_mimeTypeDictionary.Add(".inf" , "application/octet-stream" );
_mimeTypeDictionary.Add(".ins" , "application/x-internet-signup" );
_mimeTypeDictionary.Add(".isp" , "application/x-internet-signup" );
_mimeTypeDictionary.Add(".IVF" , "video/x-ivf" );
_mimeTypeDictionary.Add(".jar" , "application/java-archive" );
_mimeTypeDictionary.Add(".java" , "application/octet-stream" );
_mimeTypeDictionary.Add(".jck" , "application/liquidmotion" );
_mimeTypeDictionary.Add(".jcz" , "application/liquidmotion" );
_mimeTypeDictionary.Add(".jfif" , "image/pjpeg" );
_mimeTypeDictionary.Add(".jpb" , "application/octet-stream" );
_mimeTypeDictionary.Add(".jpe" , "image/jpeg" );
_mimeTypeDictionary.Add(".jpeg" , "image/jpeg" );
_mimeTypeDictionary.Add(".jpg" , "image/jpeg" );
_mimeTypeDictionary.Add(".js" , "application/x-javascript" );
_mimeTypeDictionary.Add(".jsx" , "text/jscript" );
_mimeTypeDictionary.Add(".latex" , "application/x-latex" );
_mimeTypeDictionary.Add(".lit" , "application/x-ms-reader" );
_mimeTypeDictionary.Add(".lpk" , "application/octet-stream" );
_mimeTypeDictionary.Add(".lsf" , "video/x-la-asf" );
_mimeTypeDictionary.Add(".lsx" , "video/x-la-asf" );
_mimeTypeDictionary.Add(".lzh" , "application/octet-stream" );
_mimeTypeDictionary.Add(".m13" , "application/x-msmediaview" );
_mimeTypeDictionary.Add(".m14" , "application/x-msmediaview" );
_mimeTypeDictionary.Add(".m1v" , "video/mpeg" );
_mimeTypeDictionary.Add(".m3u" , "audio/x-mpegurl" );
_mimeTypeDictionary.Add(".man" , "application/x-troff-man" );
_mimeTypeDictionary.Add(".manifest" , "application/x-ms-manifest" );
_mimeTypeDictionary.Add(".map" , "text/plain" );
_mimeTypeDictionary.Add(".mdb" , "application/x-msaccess" );
_mimeTypeDictionary.Add(".mdp" , "application/octet-stream" );
_mimeTypeDictionary.Add(".me" , "application/x-troff-me" );
_mimeTypeDictionary.Add(".mht" , "message/rfc822" );
_mimeTypeDictionary.Add(".mhtml" , "message/rfc822" );
_mimeTypeDictionary.Add(".mid" , "audio/mid" );
_mimeTypeDictionary.Add(".midi" , "audio/mid" );
_mimeTypeDictionary.Add(".mix" , "application/octet-stream" );
_mimeTypeDictionary.Add(".mmf" , "application/x-smaf" );
_mimeTypeDictionary.Add(".mno" , "text/xml" );
_mimeTypeDictionary.Add(".mny" , "application/x-msmoney" );
_mimeTypeDictionary.Add(".mov" , "video/quicktime" );
_mimeTypeDictionary.Add(".movie" , "video/x-sgi-movie" );
_mimeTypeDictionary.Add(".mp2" , "video/mpeg" );
_mimeTypeDictionary.Add(".mp3" , "audio/mpeg" );
_mimeTypeDictionary.Add(".mpa" , "video/mpeg" );
_mimeTypeDictionary.Add(".mpe" , "video/mpeg" );
_mimeTypeDictionary.Add(".mpeg" , "video/mpeg" );
_mimeTypeDictionary.Add(".mpg" , "video/mpeg" );
_mimeTypeDictionary.Add(".mpp" , "application/vnd.ms-project" );
_mimeTypeDictionary.Add(".mpv2" , "video/mpeg" );
_mimeTypeDictionary.Add(".ms" , "application/x-troff-ms" );
_mimeTypeDictionary.Add(".msi" , "application/octet-stream" );
_mimeTypeDictionary.Add(".mso" , "application/octet-stream" );
_mimeTypeDictionary.Add(".mvb" , "application/x-msmediaview" );
_mimeTypeDictionary.Add(".mvc" , "application/x-miva-compiled" );
_mimeTypeDictionary.Add(".nc" , "application/x-netcdf" );
_mimeTypeDictionary.Add(".nsc" , "video/x-ms-asf" );
_mimeTypeDictionary.Add(".nws" , "message/rfc822" );
_mimeTypeDictionary.Add(".ocx" , "application/octet-stream" );
_mimeTypeDictionary.Add(".oda" , "application/oda" );
_mimeTypeDictionary.Add(".odc" , "text/x-ms-odc" );
_mimeTypeDictionary.Add(".ods" , "application/oleobject" );
_mimeTypeDictionary.Add(".one" , "application/onenote" );
_mimeTypeDictionary.Add(".onea" , "application/onenote" );
_mimeTypeDictionary.Add(".onetoc" , "application/onenote" );
_mimeTypeDictionary.Add(".onetoc2" , "application/onenote" );
_mimeTypeDictionary.Add(".onetmp" , "application/onenote" );
_mimeTypeDictionary.Add(".onepkg" , "application/onenote" );
_mimeTypeDictionary.Add(".osdx" , "application/opensearchdescription+xml" );
_mimeTypeDictionary.Add(".p10" , "application/pkcs10" );
_mimeTypeDictionary.Add(".p12" , "application/x-pkcs12" );
_mimeTypeDictionary.Add(".p7b" , "application/x-pkcs7-certificates" );
_mimeTypeDictionary.Add(".p7c" , "application/pkcs7-mime" );
_mimeTypeDictionary.Add(".p7m" , "application/pkcs7-mime" );
_mimeTypeDictionary.Add(".p7r" , "application/x-pkcs7-certreqresp" );
_mimeTypeDictionary.Add(".p7s" , "application/pkcs7-signature" );
_mimeTypeDictionary.Add(".pbm" , "image/x-portable-bitmap" );
_mimeTypeDictionary.Add(".pcx" , "application/octet-stream" );
_mimeTypeDictionary.Add(".pcz" , "application/octet-stream" );
_mimeTypeDictionary.Add(".pdf" , "application/pdf" );
_mimeTypeDictionary.Add(".pfb" , "application/octet-stream" );
_mimeTypeDictionary.Add(".pfm" , "application/octet-stream" );
_mimeTypeDictionary.Add(".pfx" , "application/x-pkcs12" );
_mimeTypeDictionary.Add(".pgm" , "image/x-portable-graymap" );
_mimeTypeDictionary.Add(".pko" , "application/vnd.ms-pki.pko" );
_mimeTypeDictionary.Add(".pma" , "application/x-perfmon" );
_mimeTypeDictionary.Add(".pmc" , "application/x-perfmon" );
_mimeTypeDictionary.Add(".pml" , "application/x-perfmon" );
_mimeTypeDictionary.Add(".pmr" , "application/x-perfmon" );
_mimeTypeDictionary.Add(".pmw" , "application/x-perfmon" );
_mimeTypeDictionary.Add(".png" , "image/png" );
_mimeTypeDictionary.Add(".pnm" , "image/x-portable-anymap" );
_mimeTypeDictionary.Add(".pnz" , "image/png" );
_mimeTypeDictionary.Add(".pot" , "application/vnd.ms-powerpoint" );
_mimeTypeDictionary.Add(".potm" , "application/vnd.ms-powerpoint.template.macroEnabled.12" );
_mimeTypeDictionary.Add(".potx" , "application/vnd.openxmlformats-officedocument.presentationml.template" );
_mimeTypeDictionary.Add(".ppam" , "application/vnd.ms-powerpoint.addin.macroEnabled.12" );
_mimeTypeDictionary.Add(".ppm" , "image/x-portable-pixmap" );
_mimeTypeDictionary.Add(".pps" , "application/vnd.ms-powerpoint" );
_mimeTypeDictionary.Add(".ppsm" , "application/vnd.ms-powerpoint.slideshow.macroEnabled.12" );
_mimeTypeDictionary.Add(".ppsx" , "application/vnd.openxmlformats-officedocument.presentationml.slideshow" );
_mimeTypeDictionary.Add(".ppt" , "application/vnd.ms-powerpoint" );
_mimeTypeDictionary.Add(".pptm" , "application/vnd.ms-powerpoint.presentation.macroEnabled.12" );
_mimeTypeDictionary.Add(".pptx" , "application/vnd.openxmlformats-officedocument.presentationml.presentation");
_mimeTypeDictionary.Add(".prf" , "application/pics-rules" );
_mimeTypeDictionary.Add(".prm" , "application/octet-stream" );
_mimeTypeDictionary.Add(".prx" , "application/octet-stream" );
_mimeTypeDictionary.Add(".ps" , "application/postscript" );
_mimeTypeDictionary.Add(".psd" , "application/octet-stream" );
_mimeTypeDictionary.Add(".psm" , "application/octet-stream" );
_mimeTypeDictionary.Add(".psp" , "application/octet-stream" );
_mimeTypeDictionary.Add(".pub" , "application/x-mspublisher" );
_mimeTypeDictionary.Add(".qt" , "video/quicktime" );
_mimeTypeDictionary.Add(".qtl" , "application/x-quicktimeplayer" );
_mimeTypeDictionary.Add(".qxd" , "application/octet-stream" );
_mimeTypeDictionary.Add(".ra" , "audio/x-pn-realaudio" );
_mimeTypeDictionary.Add(".ram" , "audio/x-pn-realaudio" );
_mimeTypeDictionary.Add(".rar" , "application/octet-stream" );
_mimeTypeDictionary.Add(".ras" , "image/x-cmu-raster" );
_mimeTypeDictionary.Add(".rf" , "image/vnd.rn-realflash" );
_mimeTypeDictionary.Add(".rgb" , "image/x-rgb" );
_mimeTypeDictionary.Add(".rm" , "application/vnd.rn-realmedia" );
_mimeTypeDictionary.Add(".rmi" , "audio/mid" );
_mimeTypeDictionary.Add(".roff" , "application/x-troff" );
_mimeTypeDictionary.Add(".rpm" , "audio/x-pn-realaudio-plugin" );
_mimeTypeDictionary.Add(".rtf" , "application/rtf" );
_mimeTypeDictionary.Add(".rtx" , "text/richtext" );
_mimeTypeDictionary.Add(".scd" , "application/x-msschedule" );
_mimeTypeDictionary.Add(".sct" , "text/scriptlet" );
_mimeTypeDictionary.Add(".sea" , "application/octet-stream" );
_mimeTypeDictionary.Add(".setpay" , "application/set-payment-initiation" );
_mimeTypeDictionary.Add(".setreg" , "application/set-registration-initiation" );
_mimeTypeDictionary.Add(".sgml" , "text/sgml" );
_mimeTypeDictionary.Add(".sh" , "application/x-sh" );
_mimeTypeDictionary.Add(".shar" , "application/x-shar" );
_mimeTypeDictionary.Add(".sit" , "application/x-stuffit" );
_mimeTypeDictionary.Add(".sldm" , "application/vnd.ms-powerpoint.slide.macroEnabled.12" );
_mimeTypeDictionary.Add(".sldx" , "application/vnd.openxmlformats-officedocument.presentationml.slide" );
_mimeTypeDictionary.Add(".smd" , "audio/x-smd" );
_mimeTypeDictionary.Add(".smi" , "application/octet-stream" );
_mimeTypeDictionary.Add(".smx" , "audio/x-smd" );
_mimeTypeDictionary.Add(".smz" , "audio/x-smd" );
_mimeTypeDictionary.Add(".snd" , "audio/basic" );
_mimeTypeDictionary.Add(".snp" , "application/octet-stream" );
_mimeTypeDictionary.Add(".spc" , "application/x-pkcs7-certificates" );
_mimeTypeDictionary.Add(".spl" , "application/futuresplash" );
_mimeTypeDictionary.Add(".src" , "application/x-wais-source" );
_mimeTypeDictionary.Add(".ssm" , "application/streamingmedia" );
_mimeTypeDictionary.Add(".sst" , "application/vnd.ms-pki.certstore" );
_mimeTypeDictionary.Add(".stl" , "application/vnd.ms-pki.stl" );
_mimeTypeDictionary.Add(".sv4cpio" , "application/x-sv4cpio" );
_mimeTypeDictionary.Add(".sv4crc" , "application/x-sv4crc" );
_mimeTypeDictionary.Add(".swf" , "application/x-shockwave-flash" );
_mimeTypeDictionary.Add(".t" , "application/x-troff" );
_mimeTypeDictionary.Add(".tar" , "application/x-tar" );
_mimeTypeDictionary.Add(".tcl" , "application/x-tcl" );
_mimeTypeDictionary.Add(".tex" , "application/x-tex" );
_mimeTypeDictionary.Add(".texi" , "application/x-texinfo" );
_mimeTypeDictionary.Add(".texinfo" , "application/x-texinfo" );
_mimeTypeDictionary.Add(".tgz" , "application/x-compressed" );
_mimeTypeDictionary.Add(".thmx" , "application/vnd.ms-officetheme" );
_mimeTypeDictionary.Add(".thn" , "application/octet-stream" );
_mimeTypeDictionary.Add(".tif" , "image/tiff" );
_mimeTypeDictionary.Add(".tiff" , "image/tiff" );
_mimeTypeDictionary.Add(".toc" , "application/octet-stream" );
_mimeTypeDictionary.Add(".tr" , "application/x-troff" );
_mimeTypeDictionary.Add(".trm" , "application/x-msterminal" );
_mimeTypeDictionary.Add(".tsv" , "text/tab-separated-values" );
_mimeTypeDictionary.Add(".ttf" , "application/octet-stream" );
_mimeTypeDictionary.Add(".txt" , "text/plain" );
_mimeTypeDictionary.Add(".u32" , "application/octet-stream" );
_mimeTypeDictionary.Add(".uls" , "text/iuls" );
_mimeTypeDictionary.Add(".ustar" , "application/x-ustar" );
_mimeTypeDictionary.Add(".vbs" , "text/vbscript" );
_mimeTypeDictionary.Add(".vcf" , "text/x-vcard" );
_mimeTypeDictionary.Add(".vcs" , "text/plain" );
_mimeTypeDictionary.Add(".vdx" , "application/vnd.ms-visio.viewer" );
_mimeTypeDictionary.Add(".vml" , "text/xml" );
_mimeTypeDictionary.Add(".vsd" , "application/vnd.visio" );
_mimeTypeDictionary.Add(".vss" , "application/vnd.visio" );
_mimeTypeDictionary.Add(".vst" , "application/vnd.visio" );
_mimeTypeDictionary.Add(".vsto" , "application/x-ms-vsto" );
_mimeTypeDictionary.Add(".vsw" , "application/vnd.visio" );
_mimeTypeDictionary.Add(".vsx" , "application/vnd.visio" );
_mimeTypeDictionary.Add(".vtx" , "application/vnd.visio" );
_mimeTypeDictionary.Add(".wav" , "audio/wav" );
_mimeTypeDictionary.Add(".wax" , "audio/x-ms-wax" );
_mimeTypeDictionary.Add(".wbmp" , "image/vnd.wap.wbmp" );
_mimeTypeDictionary.Add(".wcm" , "application/vnd.ms-works" );
_mimeTypeDictionary.Add(".wdb" , "application/vnd.ms-works" );
_mimeTypeDictionary.Add(".wks" , "application/vnd.ms-works" );
_mimeTypeDictionary.Add(".wm" , "video/x-ms-wm" );
_mimeTypeDictionary.Add(".wma" , "audio/x-ms-wma" );
_mimeTypeDictionary.Add(".wmd" , "application/x-ms-wmd" );
_mimeTypeDictionary.Add(".wmf" , "application/x-msmetafile" );
_mimeTypeDictionary.Add(".wml" , "text/vnd.wap.wml" );
_mimeTypeDictionary.Add(".wmlc" , "application/vnd.wap.wmlc" );
_mimeTypeDictionary.Add(".wmls" , "text/vnd.wap.wmlscript" );
_mimeTypeDictionary.Add(".wmlsc" , "application/vnd.wap.wmlscriptc" );
_mimeTypeDictionary.Add(".wmp" , "video/x-ms-wmp" );
_mimeTypeDictionary.Add(".wmv" , "video/x-ms-wmv" );
_mimeTypeDictionary.Add(".wmx" , "video/x-ms-wmx" );
_mimeTypeDictionary.Add(".wmz" , "application/x-ms-wmz" );
_mimeTypeDictionary.Add(".wps" , "application/vnd.ms-works" );
_mimeTypeDictionary.Add(".wri" , "application/x-mswrite" );
_mimeTypeDictionary.Add(".wrl" , "x-world/x-vrml" );
_mimeTypeDictionary.Add(".wrz" , "x-world/x-vrml" );
_mimeTypeDictionary.Add(".wsdl" , "text/xml" );
_mimeTypeDictionary.Add(".wvx" , "video/x-ms-wvx" );
_mimeTypeDictionary.Add(".x" , "application/directx" );
_mimeTypeDictionary.Add(".xaf" , "x-world/x-vrml" );
_mimeTypeDictionary.Add(".xaml" , "application/xaml+xml" );
_mimeTypeDictionary.Add(".xap" , "application/x-silverlight-app" );
_mimeTypeDictionary.Add(".xbap" , "application/x-ms-xbap" );
_mimeTypeDictionary.Add(".xbm" , "image/x-xbitmap" );
_mimeTypeDictionary.Add(".xdr" , "text/plain" );
_mimeTypeDictionary.Add(".xla" , "application/vnd.ms-excel" );
_mimeTypeDictionary.Add(".xlam" , "application/vnd.ms-excel.addin.macroEnabled.12" );
_mimeTypeDictionary.Add(".xlc" , "application/vnd.ms-excel" );
_mimeTypeDictionary.Add(".xlm" , "application/vnd.ms-excel" );
_mimeTypeDictionary.Add(".xls" , "application/vnd.ms-excel" );
_mimeTypeDictionary.Add(".xlsb" , "application/vnd.ms-excel.sheet.binary.macroEnabled.12" );
_mimeTypeDictionary.Add(".xlsm" , "application/vnd.ms-excel.sheet.macroEnabled.12" );
_mimeTypeDictionary.Add(".xlsx" , "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" );
_mimeTypeDictionary.Add(".xlt" , "application/vnd.ms-excel" );
_mimeTypeDictionary.Add(".xltm" , "application/vnd.ms-excel.template.macroEnabled.12" );
_mimeTypeDictionary.Add(".xltx" , "application/vnd.openxmlformats-officedocument.spreadsheetml.template" );
_mimeTypeDictionary.Add(".xlw" , "application/vnd.ms-excel" );
_mimeTypeDictionary.Add(".xml" , "text/xml" );
_mimeTypeDictionary.Add(".xof" , "x-world/x-vrml" );
_mimeTypeDictionary.Add(".xpm" , "image/x-xpixmap" );
_mimeTypeDictionary.Add(".xps" , "application/vnd.ms-xpsdocument" );
_mimeTypeDictionary.Add(".xsd" , "text/xml" );
_mimeTypeDictionary.Add(".xsf" , "text/xml" );
_mimeTypeDictionary.Add(".xsl" , "text/xml" );
_mimeTypeDictionary.Add(".xslt" , "text/xml" );
_mimeTypeDictionary.Add(".xsn" , "application/octet-stream" );
_mimeTypeDictionary.Add(".xtp" , "application/octet-stream" );
_mimeTypeDictionary.Add(".xwd" , "image/x-xwindowdump" );
_mimeTypeDictionary.Add(".z" , "application/x-compress" );
_mimeTypeDictionary.Add(".zip" , "application/x-zip-compressed" );
}
#endregion
}