/// <summary> /// Begins reading the version file list from the master server(s). /// </summary> /// <param name="callback">The <see cref="MasterServerReaderReadCallback"/> to invoke with the results when complete.</param> /// <param name="version">The version to get the <see cref="VersionFileList"/> for.</param> /// <param name="userState">An optional state object passed by the caller to supply information to the callback method /// from the method call.</param> public void BeginReadVersionFileList(MasterServerReaderReadCallback callback, int version, object userState) { // Create the worker var t = new Thread(ReadThreadWorker) { IsBackground = true }; try { t.Name = "MasterServerReader BeginReadVersionFileList thread."; } catch (InvalidOperationException) { } // Start it var args = new ThreadWorkerArgs(callback, userState, version); t.Start(args); }