1. A method of controlling networking of resources that can be shared via a network by a plurality of devices on the network, the method comprising: obtaining shared resource information from a device having at least one shared resource; configuring a topology of shared resources needed for performing an operation based on the obtained shared resource information; and performing the operation by controlling interworking of the shared resources according to the configured topology.