Click or drag to resize
UtilitiesHasMagicBytes Method (Byte, String)
Determines whether the arrData array begins with the supplied sMagics ASCII text. Used for Content-Type sniffing.

Namespace: Fiddler
Assembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax
public static bool HasMagicBytes(
	byte[] arrData,
	string sMagics
)

Parameters

arrData
Type: SystemByte
The data, or null
sMagics
Type: SystemString
The ASCII text to look for

Return Value

Type: Boolean
TRUE if arrData begins with sMagics (encoded as ASCII octets)
See Also