Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
417 views

I created a WCF service and the security mode has been set to Transport and ClientCredentialType is Windows. Below is my client side code: NetTcpBinding binding = new NetTcpBinding(); binding.Security....
Kerwen's user avatar
  • 562
2 votes
1 answer
875 views

I'm writing a simple Go utility that makes some POST requests to the internet, but I need to go through a proxy and use NTLM without knowing the user's credentials. I've seen CSharp code like below: ...
mjwhitta's user avatar
0 votes
1 answer
342 views

I have set up fiddler as a proxy server requiring authentication following these instructions. When I explicitly set the credentials I've set in Fiddler in my HttpClientHandler: this.Proxy = ...
Felix's user avatar
  • 4,191
0 votes
0 answers
890 views

I need to build an service that connects to a SQL Server. My idea for authentication was to use the executing user, so I don't have to work manually with changing passwords. To connect to the SQL ...
Henry's user avatar
  • 118
2 votes
0 answers
1k views

i wanna set up a webclient with a NTLM authtification proxy, but i have some Problems to hand over the DefaultCredentials. This is my current solution, but it doesn’t work. textBox.Text = ""; ...
Tobi's user avatar
  • 138
1 vote
1 answer
138 views

I am attempting to go to a HTTPS site from a WebBrowser Control in a Web Application, to get some basic information from the site (the site does not have a web service or any other API at this point) ...
Greig Fields's user avatar
0 votes
0 answers
312 views

When running a web app or windows service and making web requests to other sites, I specify the credentials this way: var test = (HttpWebRequest)WebRequest.Create(uri); test.Credentials = ...
Dinerdo's user avatar
  • 602
1 vote
0 answers
435 views

I am using the NuGet.targets file from NuGet to automatically download NuGet.exe and then restore the packets in my project. This was working well, however at work we have a proxy and this method ...
Reznoir's user avatar
  • 959
1 vote
1 answer
678 views

I want to get some ListItems of a SharePoint 2010 List with a Win8 App. Everything works fine when I set the Credentials manually like: BasicHttpBinding basicHttpBinding = new BasicHttpBinding(); ...
Em Bryo's user avatar
  • 73
0 votes
1 answer
52 views

I have a web api 2.0 setup which calls a remote url internally and this code works great with PC's but not with Apple Mac browsers such as FireFox; they are getting a 401 error. Any help will be ...
Matt Warren's user avatar
2 votes
0 answers
766 views

I'm trying to pass the currently logged on user's credentials to the Exchange Web Services Managed API. Not trying to inspect them or check the values, just simply use them to make the call. The ...
Michael Brown's user avatar
2 votes
1 answer
1k views

I want to be able to get the default credentials from a within a windows service. However if I call var credentials = CredentialCache.DefaultCredentials; Or var networkCredentials = CredentialCache....
rideintothesun's user avatar
4 votes
1 answer
2k views

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 ...
Csaba Toth's user avatar
  • 10.9k
2 votes
0 answers
437 views

hope i'm not unique iOS 7 victim :) I have an application that synchronize its database with my web service, in my synchronization flow there is 14 call to web services, using Windows Authentication. ...
Max's user avatar
  • 329
0 votes
1 answer
986 views

I have a C# windows service used to pull some files from another machine on the same domain. When I run my windows service as a console application, it pull files from the other computer. However, ...
Khayralla's user avatar
  • 187
1 vote
1 answer
379 views

I'm making a CRM 2011 workflow activity that is supposed to create folders in a given SharePoint. I am doing this by calling "MKCOL" method of HttpWebRequest. Before making my code into a workflow ...
Scott's user avatar
  • 467
2 votes
1 answer
9k views

I am looking for a way to capture the network credentials of the current session into a variable that I can pass later... The point is to execute commands on a foreign domain that I have account ...
Chris White's user avatar
3 votes
1 answer
18k views

I am currently following something similar to this: HttpWebRequest myWebRequest = (HttpWebRequest) WebRequest.Create("http://www.microsoft.com"); IWebProxy proxy = myWebRequest.Proxy; Uri newUri = ...
user2186725's user avatar
0 votes
1 answer
464 views

I have a web service that uploads documents to Sharepoint and works fine using System.Net.ICredentials creds = System.Net.CredentialCache.DefaultCredentials; context.Credentials = creds; I have re-...
6dev6il6's user avatar
  • 857
25 votes
1 answer
78k views

I am trying to access a webpage on a same domain / same asp.net application, that is password protected. Credentials are the same both for webpage firing this call and webpage being accessed. Here is ...
mko's user avatar
  • 7,413
1 vote
0 answers
2k views

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 = ...
Elan's user avatar
  • 6,446
1 vote
2 answers
2k views

I currently have an app that calls a web service(WS1), which in turn calls another web service(WS2) to get/set information on the server hosted on WS2. I would like to be able to pass in the user ...
Tizz's user avatar
  • 840
0 votes
1 answer
427 views

I have a SOAP -> web service structure, using C#. I have IIS - windows authentication turned on so I am adding the DefaultNetworkCredentials to the ClientCredentials in my service instance. I am ...
Tizz's user avatar
  • 840
1 vote
1 answer
5k views

I have a Windows Form app and it keeps returning a 407 Proxy Server error when I try and return a JSON string from the Google servers. I have been led to believe that all I need to do is set the ...
CatchingMonkey's user avatar
1 vote
0 answers
6k views

I have a custom WCF web-service confugured with windows authentication and a WPF client application that needs to call the former. The service checks the username and pull some specific data from a ...
Dmitry Golubets's user avatar
3 votes
2 answers
5k views

I'm writing a DLL that has function for getting Alfresco login ticket without using user password, using only a user principal name (UPN). I’m calling alfresco REST API service /wcservice. I use NTLM ...
dok's user avatar
  • 315
0 votes
2 answers
1k views

I have the following code which bypass the proxy server for local machine and then send a WebRequest. System.Net.HttpWebRequest Request; System.Net.WebResponse ...
Simsons's user avatar
  • 12.8k
0 votes
2 answers
5k views

When I want to connect to my web service If I write it like this: m_TransferServiceSoap.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials; it is working. but I need a Login Form. so ...
Bohn's user avatar
  • 27k
37 votes
2 answers
16k views

Which one am I supposed to use when I need to supply a credential to a proxy (local or in Network)? What's the exact difference between these two?
dr. evil's user avatar
  • 27.4k
5 votes
2 answers
8k views

The "WebClient" class (and ClickOnce also) can use default proxy settings (e.g. put in application.config), however: Where does the username / password come from? (I can't see a setting in the XML ...
Greg's user avatar
  • 35k
34 votes
6 answers
53k views

I'm writing some code to utilise a 3rd party component, and I need to supply an object which implements ICredentials when I start to use it. If I write the following... var credential = new ...
Black Light's user avatar
  • 2,414
30 votes
3 answers
56k views

We're having a hard time figuring how these credentials objects work. In fact, they may not work how we expected them to work. Here's an explanation of the current issue. We got 2 servers that needs ...
Allov's user avatar
  • 1,328
0 votes
3 answers
2k views

Under certain circumstances my desktop app using SharePoint web services ends up with DefaultNetworkCredentials having null values, and so the call fails. I need to then obtain the users credentials, ...
Steve's user avatar
  • 1,105