Working with XmlBroker |
Top Previous Next |
The XmlBroker is the key component to get a Xml representation of the screen.
Its usage can be seen in the following code snippet:
VB.NET: Private Sub GetXml() As String Dim broker As XmlBroker = new XmlBroker(telnet) GetXml = broker.Xml End Sub
Private Sub SetXml(ByVal Xml As String) Dim broker As XmlBroker = new XmlBroker(telnet) broker.Xml = Xml End Sub
C#: public string GetXml() { XmlBroker broker = new XmlBroker(telnet); return broker.Xml; }
public void SetXml(string Xml) { XmlBroker broker = new XmlBroker(telnet); broker.Xml = Xml; }
|