According to the invention a dispenser for discharging media, particularly liquids, foams and pastes is proposed and whose dispenser casing is secured against dismantling. The resource with high reliability is offered based on the results of the judgment in response to a request. The detecting device is disposed with respect to the articulator.