This paper presents a method of finite-time synchronization, which can identify the topological structure of complex networks and unknown parameters. According to the theory of the finite-time stability, the feedback controller is designed to realize finite-time synchronization and exponential synchronization. Not only the unknown structure complex network topological is identified but also the parameters of the complex networks are identified. Numerical simulations are presented to illustrate the effectiveness of the theoretical analysis.