Brecham.Obex — An OBEX library for the .NET Framework

ObexFolderListingParser.StripNullBytes Property

Controls whether null bytes will be removed, this allows such invalid documents to be parsed by the XmlTextReader class.

[Visual Basic]
Public Shared Property StripNullBytes As StrippingEnabled
[C#]
public static StrippingEnabled StripNullBytes {get; set;}

Remarks

This defaults to disabled on both platforms.

See the Programmer's Guide for more information on why this is required.

Note the stripping is only carried out if we are reading the document through a Stream; which is how it will be used when reading a Folder Listing from a peer device.

See Also

ObexFolderListingParser Class | Brecham.Obex.Objects Namespace