public void RegisterService()
        {
            UPnPClientControlPoint controlPoint = ServiceRegistration.Get <IServerConnectionManager>().ControlPoint;

            if (controlPoint == null)
            {
                return;
            }

            controlPoint.RegisterAdditionalService(RegisterServerSettingsProxy);
        }
示例#2
0
        public void RegisterService()
        {
            SubscribeToMessages();

            UPnPClientControlPoint controlPoint = ServiceRegistration.Get <IServerConnectionManager>().ControlPoint;

            if (controlPoint == null)
            {
                return;
            }

            controlPoint.RegisterAdditionalService(RegisterNativeTvProxy);
        }