'Declaration Public Sub ExportHAREx( _ ByVal fileName As String, _ ByVal majorVersion As Integer, _ ByVal minorVersion As Integer, _ ByVal maxTextBodySize As Integer, _ ByVal maxBinaryBodySize As Integer _ )
public void ExportHAREx( string fileName, int majorVersion, int minorVersion, int maxTextBodySize, int maxBinaryBodySize )
Parameters
- fileName
- The name of the file to which the HAR export should be written.
- majorVersion
The major version of the HAR spec to be used. Currently, this must be set to 1.
Alternatively, use zero to indicate the latest version of the HAR spec supported by HttpWatch.
- minorVersion
The minor version of the HAR spec to be used. Currently, this must be set to 1 or 2 when majprVersion is 1.
This value is ignored if majorVersion is set to zero.
- maxTextBodySize
The maximum size of textualcontent in bytes that should be exported to the HAR file. A value of zero will not export any textual content.
If you want to export all textual content regardless of size use the value -1.
- maxBinaryBodySize
The maximum size of binary content in bytes that should be exported to the HAR file. A value of zero will not export any binary content.
If you want to export all binarycontent regardless of size use the value -1.