When checking if a file exists, if it does not exist and the command to create it is executed, subsequent operations will report a thread occupation error. Reason: The File.Create() command outputs a Stream, which needs to be closed, otherwise a thread occupation error will occur during runtime.

var stream = File.Create(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) +
                                    @"\RecheckModelUser.xml");
                        //Here you need to close the stream data process generated by creating the file first, otherwise it will report error of thread occupation
                        stream.Close();