Quite frequent the DisableCRLCheck function failed due to a „File already in use“ – error. The suggested update to the function should fix this problem. What has changed in my proposal:
1. The Change to the Machine.Config will only be done, if the file is not already updated
2. In case of the file is already open by another process, there is a retry of 5 times with a delay of 10 seconds
3. Currently it has been pretended, the 32bit Version of the file will be ignored. However it was also changed. This is now being made visible.
The Attachment contains the error, the suggested fix and a few test results.
1. The Change to the Machine.Config will only be done, if the file is not already updated
2. In case of the file is already open by another process, there is a retry of 5 times with a delay of 10 seconds
3. Currently it has been pretended, the 32bit Version of the file will be ignored. However it was also changed. This is now being made visible.
The Attachment contains the error, the suggested fix and a few test results.