对于“text/html”,以下工作有效:
System.Net.Mime.MediaTypeNames.Text.Html
最佳答案
当前 .NET Framework BCL 中没有内置常量。有许多 MIME 类型没有常量。
关于c# - "application/vnd.ms-xpsdocument"mimetype 的 C# 常量是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/981569/