An information processing apparatus, comprising: search means adapted for performing a device search; display means adapted for displaying search results of the device search by said search means; control means adapted for obtaining identification information of a device from a user input of the identification information, wherein the control means is further adapted for generating tag information using identification information of a device selected by a user in the search results displayed by said display means (S503-S510) and for generating tag information using the identification information obtained from the user input (S505-S510); and writing means adapted for writing the tag information generated by said control means into the short range wireless communication tag with a short range wireless communication, characterized in that: the control means is further adapted for performing a connection confirmation test to verify a connection with the device using the identification information obtained from the user input, wherein in a case that the connection with the device has been verified as a result of the connection confirmation test, said control means generates the tag information using the identification information obtained from the user input, and in a case that the connection with the device cannot be verified as a result of the connection confirmation test, said control means does not generate the tag information. search means adapted for performing a device search; display means adapted for displaying search results of the device search by said search means; control means adapted for obtaining identification information of a device from a user input of the identification information, wherein the control means is further adapted for generating tag information using identification information of a device selected by a user in the search results displayed by said display means (S503-S510) and for generating tag information using the identification information obtained from the user input (S505-S510); and writing means adapted for writing the tag information generated by said control means into the short range wireless communication tag with a short range wireless communication, characterized in that: the control means is further adapted for performing a connection confirmation test to verify a connection with the device using the identification information obtained from the user input, wherein in a case that the connection with the device has been verified as a result of the connection confirmation test, said control means generates the tag information using the identification information obtained from the user input, and in a case that the connection with the device cannot be verified as a result of the connection confirmation test, said control means does not generate the tag information. the control means is further adapted for performing a connection confirmation test to verify a connection with the device using the identification information obtained from the user input, wherein in a case that the connection with the device has been verified as a result of the connection confirmation test, said control means generates the tag information using the identification information obtained from the user input, and in a case that the connection with the device cannot be verified as a result of the connection confirmation test, said control means does not generate the tag information.