我正在编写一些C#代码来执行多次提交SVN的工作,就像工具svnmucc一样。到目前为止,我一直在使用SharpSvn与SVN进行其他必要的通信,因此我认为我可以利用它来完成以下任务:从C#中的SharpSvn获取凭证#
如何获取凭证(用户名,密码) SharpSvn使用的是什么?
我想要做这样的事情:
using (SvnClient svnClient = new SvnClient())
{
SomeFictitiousCredentialsClass credentials = svnClient.Authentication.FictitiousGetCachedCredentialsMethod();
// Call my code that performs svnmucc-like work here, passing username and password
// obtained from 'credentials' variable.
}