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

ObexFolderListingParser.StripDocType Property

Controls whether the DOCTYPE element will be removed before parsing, this is necessary to allow the NETCF XmlTextReader to function.

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

Remarks

This defaults to enabled only on the Compact Framework version.

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