예제 #1
0
        public virtual string imm_get_urlOf(string serialNumber)
        {
            foreach (YDevice dev in _devices.Values)
            {
                string devSerialNumber = dev.imm_getSerialNumber();
                if (devSerialNumber.Equals(serialNumber))
                {
                    return(_http_params.imm_getUrl(true, false) + dev._wpRec.NetworkUrl);
                }
            }

            return(_http_params.imm_getUrl(true, false));
        }
예제 #2
0
        internal override bool imm_isSameHub(string url, object request, object response, object session)
        {
            HTTPParams param      = new HTTPParams(url);
            bool       url_equals = param.imm_getUrl(false, false).Equals(_http_params.imm_getUrl(false, false));

            return(url_equals);
        }