UtilitiesContentTypeForFilename Method |
Return the content type of a target file, or application/octet-stream if unknown.
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax public static string ContentTypeForFilename(
string sFilename
)
Public Shared Function ContentTypeForFilename (
sFilename As String
) As String
public:
static String^ ContentTypeForFilename(
String^ sFilename
)
Parameters
- sFilename
- Type: SystemString
A filename, including the extension
Return Value
Type:
StringSee Also