running svn update from .net

If I run svn update from command prompt everything works fine but if I try to run it from a .net process I get the following error.
Eventhough I setup .net to run as the same user.
If i'm getting the below error I think it's because its actually trying to use svn under a different user that doesnt have the info saved. How can I save the login for whichever user .net is trying to run under...

C:\path>svn update
 Error validating server certificate for 'http://mysvnsite':
 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
Certificate information:
 - Hostname: mysvnsite
 - Valid: from Wed, 03 Dec 2008 05:22:17 GMT until Thu, 08 Dec 2011 05:22:17 GMT
 - Issuer: Myissuer
 - Fingerprint:
(R)eject, accept (t)emporarily or accept (p)ermanently? svn: OPTIONS of 'mysvnsite': Server certificate verification failed: issuer is not trusted (https://mysvnsite)
 

NewtonianBAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SriVaddadiCommented:
WindowsIdentity.GetCurrent()

You could impersonate to that user. But I guess the problem here is to do with the certificate If i get it right.
0
NewtonianBAuthor Commented:
Thanks SriVaddadi, something else must be wrong because I just checked the identity of the running process in release mode and it was the same user i am logged in to.
SO anyways I need to figure out how to save and accept the certificate through .net
0
SriVaddadiCommented:
I would suggest to see if you could pass the certificate through svn update command. As far as I know we cannot.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Version Control

From novice to tech pro — start learning today.