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

ObexXmlResolver Class

An XmlResolver that knows how to access the OBEX object DTDs, without any remote lookups.

For a list of all members of this type, see ObexXmlResolver Members.

System.Object
   System.Xml.XmlResolver
      Brecham.Obex.Objects.ObexXmlResolver

[Visual Basic]
Public Class ObexXmlResolver
    Inherits XmlResolver
[C#]
public class ObexXmlResolver : XmlResolver

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

At the current time the obex-folder-listing.dtd and obex-capability.dtd DTDs are present.

Example

[Visual Basic]
Dim xr As XmlTextReader = New System.Xml.XmlTextReader(content) 
xr.XmlResolver = New Objects.ObexXmlResolver 
If Not xr.Read Then ...
If xr.NodeType ...

Requirements

Namespace: Brecham.Obex.Objects

Assembly: Brecham.Obex (in Brecham.Obex.dll)

See Also

ObexXmlResolver Members | Brecham.Obex.Objects Namespace