Class XmlFileMimeMappings
This class is used to deserialize and store MIME-type-to-file-extension mappings from given XML file.
Inheritance
Inherited Members
Namespace: Fiddler
Assembly: FiddlerCore.dll
Syntax
public class XmlFileMimeMappings : IEnumerable<MimeMap>, IEnumerable
Remarks
The XML file should be in the following format:
<ArrayOfMimeMap> <MimeMap> <MimeType>mime/type</MimeType> <FileExtension>.ext</FileExtension> </MimeMap> </ArrayOfMimeMap>
Constructors
XmlFileMimeMappings(String)
Initializes new instance of XmlFileMimeMappings
with the specified file path.
Declaration
public XmlFileMimeMappings(string filePath)
Parameters
System.String
filePath
A relative or absolute path to the XML file. |
Methods
GetEnumerator()
Declaration
public IEnumerator<MimeMap> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<MimeMap>
|