Show / Hide Table of Contents

Class MimeHelper

Inheritance
System.Object
MimeHelper
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: SecureExchangesSDK.Helpers
Assembly: SecureExchangesSDK.dll
Syntax
public static class MimeHelper

Fields

MIMETypesDictionary

Declaration
public static readonly Dictionary<string, string> MIMETypesDictionary
Field Value
Type Description
System.Collections.Generic.Dictionary<System.String, System.String>

Methods

GetMIMEType(String)

Declaration
public static string GetMIMEType(string fileName)
Parameters
Type Name Description
System.String fileName
Returns
Type Description
System.String

IsValidExtension(String)

Declaration
public static bool IsValidExtension(string extension)
Parameters
Type Name Description
System.String extension
Returns
Type Description
System.Boolean
In This Article
Back to top Generated by DocFX