We describe the magnetic potential in the vicinity of a corner of a conducting body embedded in a dielectric medium in a bidimensional setting. We make explicit the corner asymptotic expansion for this potential as the distance to the corner goes to zero. This expansion involves singular functions and singular coefficients. We introduce a method for the calculation of the singular functions near the corner. We extend the quasi-dual function method to the case of resonances to compute the singular coefficients. Estimates for the convergence of this method are proven. We illustrate the theoretical results with finite element computations. The specific non-standard feature of this problem lies in the structure of its singular functions: They h...