Let $M$ be a $C^\infty$ manifold, $C^\infty(M)$ be its function ring and $X=\text{Spec}(C^\infty(M))$ be the corresponding affine scheme.
Both $M$ and $X$ are locally ringed spaces. Are they isomorphic? If not, is it possible to reconstruct $M$ from $X$?