Methods / Administrative Service |
IWFAdminService svc = GetAdminService(); try { WFSysPerfInfo sysPerfInfo = svc.GetSysPerfInfo(); Console.WriteLine("1) ServerID = '{0}'",sysPerfInfo.ServerID); Console.WriteLine("2) MemoryAllocated = '{0}'", sysPerfInfo.MemoryAllocated); //... } catch (Exception ex) { Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex)); } /* This example produces the following results: 1) ServerID = 'DEMO/4356' 2) MemoryAllocated = '7329' */