Ejemplo n.º 1
0
        public void SetAcceleration(int a)
        {
            XenClientGuestServiceProxy XenClientGuestService;

            ProxyBuilder.Create(out XenClientGuestService, DbusEndpointUriComponents.Create(EndpointBuilder));
            try
            {
                XenClientGuestService.ProxyInterface.SetAcceleration((uint)a);
            }
            finally
            {
                XenClientGuestService.Close();
            }
        }
Ejemplo n.º 2
0
        public bool XenStoreWrite(string path, string value)
        {
            XenClientGuestServiceProxy XenClientGuestService;

            ProxyBuilder.Create(out XenClientGuestService, DbusEndpointUriComponents.Create(EndpointBuilder));
            try
            {
                return(XenClientGuestService.ProxyInterface.XenStoreWrite(path, value));
            }
            finally
            {
                XenClientGuestService.Close();
            }
        }
Ejemplo n.º 3
0
        public bool SetAutorun(bool doToggle)
        {
            XenClientGuestServiceProxy XenClientGuestService;

            ProxyBuilder.Create(out XenClientGuestService, DbusEndpointUriComponents.Create(EndpointBuilder));
            try
            {
                return(XenClientGuestService.ProxyInterface.TogglePluginAutorun(doToggle));
            }
            finally
            {
                XenClientGuestService.Close();
            }
        }