|
by: Steve Ng |
last post by:
Hello,
I have a windows form application that needs to pass through a proxy
to get access to the internet. As a test, I have successfully
hardcoded my login/password/domain combination and been able to gain
access through the proxy.
I would like to ditch the hardcoded login/password/domain combination
and use the settings defined in Internet Explorer. I've read that I
can use System.Net.CredentialCache.DefaultCredentials to get the
|
by: Craig |
last post by:
We have an anonymous web application trying to talk to a windows
authenticated webservice. This is currently failing with 401 Access Denied
errors.
We have found that we can get this to work by writing the following code in
the web application before calling the webservice:
WebServiceInstance.Credentials = new NetworkCredential("username",
"password","domain");
|
by: |
last post by:
According to miscellaneous posts, this should work to the
effect of helping overcome FormsAuthentication when the
user is already logged in. In my case, the page that gets
scraped is the forms login page :?(.
Somehow the default credentials do not work on the new
WebRequest object.
Any amount of help will be appreciated,
|
by: Tim Cowan |
last post by:
Hi,
I am using .NET 2.0 and I want to send mail that uses SMTP authorization. I
have found this in the help:
client.Credentials = System.Net.CredentialCache.DefaultCredentials;
My question is how do I set the username and password? Say the username is
bob@home.com and the password is onions, how do I set this? The values could
be different on a user by user basis, so I need to apply the settings from
|
by: Niklas Uhlin |
last post by:
I have an ASP.NET 2.0 site running on XP SP2 that uses Windows Integrated
Authetication. In web.config I have the following:
<system.web>
<authentication mode="Windows" />
<identity impersonate="true" />
<authorization>
<allow roles="DOMAIN\Group" />
<deny users="*" />
|
|
by: JOS |
last post by:
Hi,
I have a web application with the following in the web.config file
1 <authentication mode="Windows" />
2 <identity impersonate="true" />
My IIS settings are shown below
However the System.Net.CredentialCache.DefaultCredentials is not being
|
by: Anrew |
last post by:
Hi Guys,
I have not simple question:
How can i extract username and password from the
CredentialCache.DefaultCredentials property.
Any help appreciated.
Thx in advance.
|
by: Joerg Lueders |
last post by:
Hi,
I created simple code to get information from a Web Service. I need to
pass credentials for the Web Service as well as for the Proxy Server
(static address).
This works fine as long as login and pwd are hard-coded.
Best would be if the app could use the standard proxy-settings of IE
without any login data. But this does not work.
|
by: ckb |
last post by:
Hi,
I have an active x ctrl on my page and using asp.net I i have built a web page that has a web service named e1.I am using CreateSessionImpersonated()
but it does not Impersonate and every time asks for the user name and the password.The code is
Can anybody help me on this please.
Thankyou.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|