1. An information processing apparatus comprising:a casing;
a storage medium housed in the casing;
a control unit having a detection unit and an erasing unit, the detection unit configured to detect opening of the casing;
the erasing unit configured to erase information stored in the storage medium in a case; and
a power source including an external power source and a photoelectric conversion unit that converts light into electric power, both configured to supply power to the detection unit and the erasing unit,
wherein the photoelectric conversion unit is incorporated in the casing, wherein the control unit is configured to actuate the erasing unit to erase information stored in the storage medium only when power is supplied by the photoelectric conversion unit.