MimeTypeMapGetMimeType Method
Gets the type of the MIME from the provided string.
Namespace: GenerativeAI.CoreAssembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
public static string GetMimeType(
string str
)
- str String
- The filename or extension.
StringThe MIME type.