Given any irreducible smooth complex projective curve X, of genus at least two, consider the moduli stack of vector bundles on X of fixed rank and determinant. It is proved that the isomorphism class of the stack uniquely determines the isomorphism class of the curve X and the rank of the vector bundles.