TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
asaf ok
NA
3
4.7k
How to use System.Net.CredentialCache.DefaultCredentials - Urgent!!!
Oct 6 2011 9:12 AM
I would like to transfer by HTTP request to an external service logged user details.
I tried the following code:
string url = "http://localhost";
/ / Create a 'HttpWebRequest' object with the specified url.
HttpWebRequest myHttpWebRequest = (HttpWebRequest) WebRequest.Create (url);
/ / Assign the credentials of the logged in user or the user being impersonated.
myHttpWebRequest.Credentials = System.Net.CredentialCache.DefaultCredentials;
But any attempt to get user data is always obtained as STRING empty and no values.
How do I use the class for the desired values ??or alternatively I'd like to receive other offers on how to resolve the problem ...
Reply
Answers (
3
)
Create Dynamic Textbox and Get values
CUSTOM POSITION FIELD OF CRYSTAL REPORT USING C#