Ejemplo n.º 1
0
 public Service(MPExtendedService srv, string assembly, string implementationName, string serviceType)
 {
     this.ServiceName         = srv;
     this.Assembly            = assembly;
     this.ImplementationName  = implementationName;
     this.ZeroconfServiceType = serviceType;
 }
Ejemplo n.º 2
0
 public Service(MPExtendedService srv, string assembly, string implementationName, string serviceType)
 {
     this.ServiceName = srv;
     this.Assembly = assembly;
     this.ImplementationName = implementationName;
     this.ZeroconfServiceType = serviceType;
 }
Ejemplo n.º 3
0
        public static bool CheckInstalled(MPExtendedService service)
        {
            if (service == MPExtendedService.WifiRemote)
            {
                // TODO: FIXME
                return false;
            }

            #if DEBUG
            return true;
            #else
            return CheckRegistryKey(Registry.LocalMachine, @"Software\MPExtended", service.ToString() + "Installed");
            #endif
        }
Ejemplo n.º 4
0
 public static bool IsServiceInstalled(MPExtendedService srv)
 {
     return GetInstalledServices().Any(x => x.Service == srv);
 }
Ejemplo n.º 5
0
 public static Uri[] GetForService(MPExtendedService service)
 {
     return GetForService(service.ToString());
 }
Ejemplo n.º 6
0
 public static Uri[] GetForService(MPExtendedService service)
 {
     return(GetForService(service.ToString()));
 }
Ejemplo n.º 7
0
 public static bool IsServiceInstalled(MPExtendedService srv)
 {
     return(GetInstalledServices().Any(x => x.Service == srv));
 }