static void Test_GetVNCPort(Host host, string uuid)
        {
            XenConnect conn = new XenConnect(host, testServerId, testip);
            int        portNum;

            conn.getVmVNCPort(uuid, out portNum);
        }
        private void remoteView(Host host, VM vm)
        {
            XenConnect conn = new XenConnect(host, Settings.SystemIdentifier, Settings.SystemIp);

            conn.Notifications += e_logXenMasterNotification;
            int vmVncPort;

            conn.getVmVNCPort(vm.UUID, out vmVncPort);

            VMViewerWindow viewerWindow = new VMViewerWindow(host, vm, vmVncPort);

            viewerWindow.Show();
        }