摘要:
string extension;
extension = extension.ToUpper();
string contentType;
if(extension == "*")
contentType = "application/octet-stream";
else if(extension == "323")
contentType = "text/h323";
else if(extension == "ACX")
contentType = "application/internet-property-stream";
else if(extension == "AI")
contentType = "application/postscript";
else if(extension == "AIF")
contentType = "audio/x-aiff";
else if(extension == "AIFC")
阅读全文