internal static void SetUrls(string mas, string tas) { var addressSet = new ServiceAddressSet(mas, tas, null); serviceSet = addressSet.Connect(Configuration.WebMediaPortal.ServiceUsername, Configuration.WebMediaPortal.ServicePassword); }
private static IServiceSet GetServiceSet() { if (_serviceSet == null) { var addr = new ServiceAddressSet("127.0.0.1", "127.0.0.1"); _serviceSet = addr.Connect(); } return _serviceSet; }
internal static void SetUrls(string mas, string tas) { var addressSet = new ServiceAddressSet(mas, tas, null); serviceSet = addressSet.Connect(); }