Google Generative AI SDK
C#
Show/Hide TOC
Mime
Type
Map Class
Class MimeTypeMap.
Definition
Namespace:
GenerativeAI.Core
Assembly:
GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
Copy
public
static
class
MimeTypeMap
Inheritance
Object
MimeTypeMap
Methods
GetExtension
Gets the extension from the provided MIME type.
GetMimeType
Gets the type of the MIME from the provided string.
TryGetMimeType
Tries to get the type of the MIME from the provided string.
See Also
Reference
GenerativeAI.Core Namespace
In This Article
Definition
Methods
See Also