public static bool NameHasOwner (string serviceName) { try { return Bus.Session.NameHasOwner (MakeBusName (serviceName)); } catch { return false; } }