Electronic apparatus and method for shareing wireless network access infromation in electronic apparatus

The various embodiments related to a wireless network connection method in the electronic apparatus and an electronic device for example, have been described bar, the Examples according to the example, in the electronic device, at least one access information or validity information associated with a connectable wireless network with the electronic apparatus operation for acquiring one piece of information; And to include the operation of transmitting from the electronic device, the at least one external device, the information outside the device is based on the at least one information, to connect or disconnect the wireless network to the electronic device and it may, in addition to various other embodiments are possible.