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

            return _serviceSet;
        }
Exemplo n.º 3
0
 internal static void SetUrls(string mas, string tas)
 {
     var addressSet = new ServiceAddressSet(mas, tas, null);
     serviceSet = addressSet.Connect();
 }