Questions tagged [credentialscache]

9 questions
5
votes
2 answers

CredentialsCache.DefaultCredentials within Task / Thread

I hope you can help me. I am doing some webrequests within my C# 4.0 application which require authentication. I simply use the CredentialsCache.DefaultCredentials. This works great as long as I do not run the functionality in a different thread /…
Mads
  • 1,146
  • 2
  • 9
  • 30
4
votes
1 answer

Where does DefaultCredentials pull out "UserName" as a username for a web request?

There's a WinForms desktop application which tries to connect to SSRS service. The Reporting Server is configured to accept both Active Directory credential logins and also a credential for specific user for reporting purposes. In the following code…
1
vote
0 answers

How can I save network credentials to the Windows credentials cache/vault?

I am evaluating a 3rd party API WebDAV.NET for gaining access to SharePoint web folders. This API accepts the standard .Net network credentials and gives me two options: ICredentials credential =…
1
vote
1 answer

How to use use default session credentials bitstransfer proxy in powershell

I'm trying to automate the download of some files using "start-bitstransfer" cmdlet, but I should use a proxy. Wen I use "get-credentials" there is no problem there is no problem to download the file, but I'd like to avoid prompting for the current…
1
vote
0 answers

Excel VBA WinHttpRequest saved Credentials

I wrote the following code to get the innerHTML text of a website: Public Function GetInnerHtmlBody(ByVal Url As String) As HTMLDocument Dim ResponseDocument As New HTMLDocument Dim MyRequest As New WinHttpRequest With MyRequest …
FireEmerald
  • 1,002
  • 12
  • 21
0
votes
1 answer

Fetch, pull, merge or push a change to GitHub gitbash gives {git: 'credential-cache' is not a git command. See 'git -- help'.}

This error git: 'credential-cache' is not a git command. See 'git --help'. is showing every time I try to interact with GitHub: In order to get out of the pain of typing my GitHub idname & password each time I fetch, pull, merge and push changes…
0
votes
0 answers

TF31002 Can't connect to TFS 2010 from VS 2012 or from the browser

My machine runs windows 7 (Workgroup) and i am using Windows Visual Studio 2012 (Utltimate Version 11, Update 4) to connect to TFS 2010 on a domain server. Recently, i was working normally (my PC was related to different domain, i changed it…
Hussein Salman
  • 7,806
  • 15
  • 60
  • 98
0
votes
1 answer

Prestashop Instant Checkout

I've enabled Guest Checkout in PrestaShop. Visitor have to fill his data when making order. If same visitor (from same browser with cookies) make next order, it prevent him to fill his data (including email). How PrestaShop can do this? It can be…
Dreken
  • 191
  • 1
  • 7
-2
votes
1 answer

calling https web service methods

I have added a web reference of a web service which url starts with https. And trying to call by the following C# code testwebservices.BasicHttpBinding_GDataService webservice = new testwebservices.BasicHttpBinding_GDataService (); Uri uri = new…
MJK
  • 3,434
  • 3
  • 32
  • 55