public void SetAcceleration(int a) { XenClientGuestServiceProxy XenClientGuestService; ProxyBuilder.Create(out XenClientGuestService, DbusEndpointUriComponents.Create(EndpointBuilder)); try { XenClientGuestService.ProxyInterface.SetAcceleration((uint)a); } finally { XenClientGuestService.Close(); } }
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(); } }
public bool SetAutorun(bool doToggle) { XenClientGuestServiceProxy XenClientGuestService; ProxyBuilder.Create(out XenClientGuestService, DbusEndpointUriComponents.Create(EndpointBuilder)); try { return(XenClientGuestService.ProxyInterface.TogglePluginAutorun(doToggle)); } finally { XenClientGuestService.Close(); } }