Click or drag to resize

RuntimeManagerUpload Method

Uploads all necessary data from client to 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
The following example shows how you can use Upload before a procedure is executed.
C#
static class Program
{
    static void Main()
    { 
        RuntimeManager rt = new RuntimeManager();
        rt.Load("C:\\Sample.ptx");
        rt.Connect("192.168.1.30", 1001);
        rt.Upload();
        IProcedure mainProcedure = rt.GetMainProcedure();
        if(maiProcedure != null)
        {
            mainProcedure.Execute();
        }
    }
}
See Also