Click or drag to resize

RuntimeManagerDownload Method

Downloads all runtime related data from host to client. - Content of Output folder to ClientOutputFolder/Host/ - Content of External applications to ClientAppsFolder/Host/ - Content of Trace file folder to ClientTraceFileFolder/Host/

Namespace:  OpenTestSystem.Otx.Runtime.Api
Assembly:  OpenTestSystem.Otx.Runtime.Api (in OpenTestSystem.Otx.Runtime.Api.dll) Version: 5.5.0.0 (6.1.0.31040)
Syntax
Examples
he following example shows how you can use Download to get files from Host.
C#
static class Program
{
    static void Main()
    { 
        RuntimeManager rt = new RuntimeManager();
        rt.Load("C:\\Sample.ptx");
        rt.Connect("192.168.1.30", 1001);
        IProcedure mainProcedure = rt.GetMainProcedure();
        if(maiProcedure != null)
        {
            mainProcedure.Execute();
        }

        rt.Download();
    }
}
See Also