Forum / Remote Desktop Manager - SDK

How can I use the ISession.GetProperty method ?

Hi,
I want using the GetProperty method of the ISession Interface but I don't know which arguments I must pass to this method. What is the Path and PropertyName ? Not documented ?
Thank you

Clock7 yrs

Hi,
Export a session similar to the one you want to create an examine the Xml result. The container is the parent node that might be null and the propertyname is the xml element you want to set. For example

<?xml version="1.0"?>
<ArrayOfConnection>
<Connection>
<ConnectionType>Ftp</ConnectionType>
<CreatedBy>devolutions15\dhervieux</CreatedBy>
<CreationDateTime>2012-04-04T08:48:13.6934861-04:00</CreationDateTime>
<Events />
<Ftp>
<Host>test</Host>
<PassiveMode>false</PassiveMode>
</Ftp>
<ID>7b5321fe-e87b-46b8-8d5f-f1cc0cb0e2ee</ID>
<MetaInformation />
<Name>test</Name>
<Stamp>0785a0d5-68e9-4e4e-8bb8-f02578d90538</Stamp>
<WebBrowserApplication>IE</WebBrowserApplication>
</Connection>
</ArrayOfConnection>

If I want to get the host of the Ftp, you will call GetProperty("Ftp", "Host");

I hope this help

David Hervieux

signaturesignature

Clock7 yrs