| RuntimeManagerHostClean Method |
Cleans up all runtime related files at the host.
- Content of Output folder.
- Content of FileSystem.
- Content of External applications.
- Content of Trace file folder.
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 HostClean to clean up the Host.
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.HostClean();
}
}
See Also