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

C#

 
AnswerRe: BeginInit() and EndIinit() performance Pin
Martin#31-May-07 21:40
Martin#31-May-07 21:40 
GeneralRe: BeginInit() and EndIinit() performance Pin
Tavbi31-May-07 22:44
Tavbi31-May-07 22:44 
GeneralRe: BeginInit() and EndIinit() performance Pin
Martin#31-May-07 22:46
Martin#31-May-07 22:46 
GeneralRe: BeginInit() and EndIinit() performance Pin
DavidNohejl1-Jun-07 2:07
DavidNohejl1-Jun-07 2:07 
GeneralRe: BeginInit() and EndIinit() performance Pin
Martin#1-Jun-07 8:17
Martin#1-Jun-07 8:17 
GeneralRe: BeginInit() and EndIinit() performance Pin
Dave Kreskowiak1-Jun-07 4:32
mveDave Kreskowiak1-Jun-07 4:32 
GeneralRe: BeginInit() and EndIinit() performance Pin
Martin#1-Jun-07 8:17
Martin#1-Jun-07 8:17 
QuestionWebRequest Pin
TAREQ F ABUZUHRI31-May-07 21:01
TAREQ F ABUZUHRI31-May-07 21:01 
Error
------------
The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
-------------
i try to use this code
but i have error

***************
using System;
using System.IO;
using System.Net;
using System.Text;

namespace Examples.System.Net
{
public class WebRequestGetExample
{
public static void Main()
{
// Create a request for the URL.
WebRequest request = WebRequest.Create("https://isp.paltel.net/login.cfm");
// If required by the server, set the credentials.
request.PreAuthenticate = true;
request.Credentials = CredentialCache.DefaultCredentials;
// Get the response.
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
// Display the status.
Console.WriteLine(response.StatusDescription);
// Get the stream containing content returned by the server.
Stream dataStream = response.GetResponseStream();
// Open the stream using a StreamReader for easy access.
StreamReader reader = new StreamReader(dataStream);
// Read the content.
string responseFromServer = reader.ReadToEnd();
// Display the content.
Console.WriteLine(responseFromServer);
// Cleanup the streams and the response.
reader.Close();
dataStream.Close();
response.Close();
Console.Read();
}
}
}


***************

Palestine

AnswerRe: WebRequest Pin
blackjack215031-May-07 21:37
blackjack215031-May-07 21:37 
QuestionSwitch to process Pin
Cliffer31-May-07 20:42
Cliffer31-May-07 20:42 
AnswerRe: Switch to process Pin
Martin#31-May-07 20:54
Martin#31-May-07 20:54 
QuestionRe: Switch to process Pin
Cliffer31-May-07 21:06
Cliffer31-May-07 21:06 
QuestionControlling Keyboard through..... Pin
Vivek Vijayan31-May-07 20:32
Vivek Vijayan31-May-07 20:32 
GeneralRe: Controlling Keyboard through..... Pin
Martin#31-May-07 20:47
Martin#31-May-07 20:47 
GeneralRe: Controlling Keyboard through..... Pin
Vivek Vijayan31-May-07 22:51
Vivek Vijayan31-May-07 22:51 
GeneralRe: Controlling Keyboard through..... Pin
Martin#31-May-07 22:58
Martin#31-May-07 22:58 
GeneralRe: Controlling Keyboard through..... Pin
Vivek Vijayan31-May-07 23:13
Vivek Vijayan31-May-07 23:13 
GeneralRe: Controlling Keyboard through..... Pin
Martin#31-May-07 23:18
Martin#31-May-07 23:18 
GeneralRe: Controlling Keyboard through..... Pin
Luc Pattyn31-May-07 23:24
sitebuilderLuc Pattyn31-May-07 23:24 
GeneralRe: Controlling Keyboard through..... Pin
Vivek Vijayan31-May-07 23:36
Vivek Vijayan31-May-07 23:36 
GeneralRe: Controlling Keyboard through..... Pin
Martin#31-May-07 23:43
Martin#31-May-07 23:43 
GeneralRe: Controlling Keyboard through..... Pin
Vivek Vijayan31-May-07 23:57
Vivek Vijayan31-May-07 23:57 
GeneralRe: Controlling Keyboard through..... Pin
Martin#1-Jun-07 0:06
Martin#1-Jun-07 0:06 
JokeRe: Controlling Keyboard through..... Pin
ScottM11-Jun-07 0:28
ScottM11-Jun-07 0:28 
JokeRe: Controlling Keyboard through..... Pin
Martin#1-Jun-07 0:34
Martin#1-Jun-07 0:34 

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.