Hi,
I'm looking to migrate my Windows .NET service app (no user interaction) from a long lived token to a short-lived token.
I am working through the OAuthTest app, and have entered my apps ApiKey and ApiSecret. I have also set the Redirect URI to http://127.0.0.1:52579/authorize
When debugging the code, it runs as far as the AcquireAccessToken method, down to the code line http.Start();, and on this line an error occurs stating "The process cannot access the file because it is being used by another process". I am puzzled as to what the file could be.
I have tried moving the code folder to another location on the PC, "cleaning" the solution, but nothing resolves this error.
Strangely, I have copied my code to another couple of PCs and it runs perfectly!!
I would like to understand what's causing this issue on my main development machine.
Any ideas?
Regards,
Paul