I'd like to use SharpSVN with a different user of TortoiseSVN.
I'm using VisualSVN as server and I'm connecting to VisualSVN using https. In TortoiseSVN the url is https://<myserver>
.
Reading around I've found some possible solutions.
client.Authentication.ForceCredentials(user, password);
This definitively changes the TortoiseSVN cache but actually it is the only method to authenticate that works for me.
Methods that starts with
client.Authentication.Clear();
In this case, when I use the client I receive the error
Unable to connect to a repository at URL 'https://myserver'
No provider registered for 'svn.ssl.server' credentials