使用SharpSVN SVN仓库认证 [英] SVN Repository Authentication using SharpSVN

查看:162
本文介绍了使用SharpSVN SVN仓库认证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何一个可以告诉我如何验证用户身份(SVN用户)使用SharpSVN库的存储库。
该资源库应仅由这些用户提交。
谢谢

Can any one tell me how to authenticate users(SVN users) for a repository using SharpSVN Library. That repository should only be committed by those users. Thanks

推荐答案

使用SVNClient的身份验证属性:

Use the Authenticate properties of SVNClient:

client.Authentication.Clear(); //清除一个previous认证
client.Authentication.DefaultCredentials =新System.Net.NetworkCredential(用户,密码);

这篇关于使用SharpSVN SVN仓库认证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆