Click here to Skip to main content
15,880,891 members
Home / Discussions / C#
   

C#

 
GeneralRe: Prevent access to certain pages Pin
pmartike2-Jul-07 21:35
pmartike2-Jul-07 21:35 
QuestionOulook and outlook express /Email extraction Pin
jazeelkm2-Jul-07 19:08
jazeelkm2-Jul-07 19:08 
Questionimport list view in a text file Pin
justintimberlake2-Jul-07 18:25
justintimberlake2-Jul-07 18:25 
AnswerRe: import list view in a text file Pin
Mark Greenwood2-Jul-07 19:13
Mark Greenwood2-Jul-07 19:13 
GeneralRe: import list view in a text file Pin
justintimberlake2-Jul-07 19:32
justintimberlake2-Jul-07 19:32 
QuestionIs there printing feature in Dundas Gauge? Pin
~Alisa~Anny~2-Jul-07 17:22
~Alisa~Anny~2-Jul-07 17:22 
AnswerRe: Is there printing feature in Dundas Gauge? Pin
Christian Graus2-Jul-07 17:56
protectorChristian Graus2-Jul-07 17:56 
QuestionWebRequest.GetResponse() method How to Implement "SESSION BASE" authendication? Pin
liubin_aluzi2-Jul-07 16:37
liubin_aluzi2-Jul-07 16:37 
Just look the code:
<br />
            string sUri = "http://url";<br />
            NetworkCredential myCred = new NetworkCredential("","");<br />
            myCred.UserName = "admin";<br />
            myCred.Password = "password";<br />
<br />
            WebRequest request = WebRequest.Create(sUri);<br />
            request.Credentials = myCred;<br />
            WebResponse response = request.GetResponse();<br />


Our HTTP server using "SESSION BASE" authendication, So the "request.GetReponse" will return the HTML code of the HTTP server's login page, NOT the uri I want to retrive.

If I change HTTP server to "BASIC" auth, the code run good.
How to implement "SESSION BASE" auth in C#?
AnswerRe: WebRequest.GetResponse() method How to Implement "SESSION BASE" authendication? Pin
Guffa2-Jul-07 19:31
Guffa2-Jul-07 19:31 
GeneralRe: WebRequest.GetResponse() method How to Implement "SESSION BASE" authendication? Pin
liubin_aluzi4-Jul-07 16:08
liubin_aluzi4-Jul-07 16:08 
Question[Message Deleted] Pin
mayvarma2-Jul-07 11:59
mayvarma2-Jul-07 11:59 
AnswerRe: need code for this app in C# Pin
Christian Graus2-Jul-07 12:08
protectorChristian Graus2-Jul-07 12:08 
AnswerHere ya go Pin
Jimmanuel2-Jul-07 12:48
Jimmanuel2-Jul-07 12:48 
GeneralRe: Here ya go Pin
Luc Pattyn2-Jul-07 12:55
sitebuilderLuc Pattyn2-Jul-07 12:55 
GeneralRe: Here ya go Pin
ruanr2-Jul-07 20:58
ruanr2-Jul-07 20:58 
AnswerRe: need code for this app in C# Pin
Dave Kreskowiak2-Jul-07 12:53
mveDave Kreskowiak2-Jul-07 12:53 
QuestionHow to call a base class virtual method instead Pin
mschuckmann2-Jul-07 10:45
mschuckmann2-Jul-07 10:45 
AnswerRe: How to call a base class virtual method instead Pin
PIEBALDconsult2-Jul-07 10:54
mvePIEBALDconsult2-Jul-07 10:54 
GeneralRe: How to call a base class virtual method instead Pin
Pete O'Hanlon2-Jul-07 10:58
mvePete O'Hanlon2-Jul-07 10:58 
GeneralRe: How to call a base class virtual method instead Pin
PIEBALDconsult2-Jul-07 11:37
mvePIEBALDconsult2-Jul-07 11:37 
GeneralRe: How to call a base class virtual method instead [modified] Pin
Luc Pattyn2-Jul-07 11:46
sitebuilderLuc Pattyn2-Jul-07 11:46 
GeneralRe: How to call a base class virtual method instead Pin
mschuckmann2-Jul-07 11:58
mschuckmann2-Jul-07 11:58 
GeneralRe: How to call a base class virtual method instead Pin
Luc Pattyn2-Jul-07 12:10
sitebuilderLuc Pattyn2-Jul-07 12:10 
GeneralRe: How to call a base class virtual method instead Pin
mschuckmann2-Jul-07 12:14
mschuckmann2-Jul-07 12:14 
GeneralRe: How to call a base class virtual method instead Pin
Weirdoz1210-Nov-09 17:59
Weirdoz1210-Nov-09 17:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.