Click here to Skip to main content
15,914,240 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: How to know which .NET framework servicepack version is used ? Pin
Mike Dimmick28-Nov-07 6:15
Mike Dimmick28-Nov-07 6:15 
Questionhow to convert an html file into pdf format(without lost of any information) Pin
chithra.r25-Nov-07 17:57
chithra.r25-Nov-07 17:57 
AnswerRe: how to convert an html file into pdf format(without lost of any information) Pin
Vasudevan Deepak Kumar25-Nov-07 18:09
Vasudevan Deepak Kumar25-Nov-07 18:09 
QuestionUDPClient "hangs" on second send/recieve Pin
BlueChippy25-Nov-07 7:04
BlueChippy25-Nov-07 7:04 
AnswerRe: UDPClient "hangs" on second send/recieve Pin
John_Allred28-Nov-07 13:26
John_Allred28-Nov-07 13:26 
QuestionChecking internet connection, the rigth approach Pin
Oshtri Deka25-Nov-07 5:34
professionalOshtri Deka25-Nov-07 5:34 
AnswerRe: Checking internet connection, the rigth approach Pin
Vasudevan Deepak Kumar25-Nov-07 18:11
Vasudevan Deepak Kumar25-Nov-07 18:11 
AnswerRe: Checking internet connection, the rigth approach Pin
John_Allred29-Nov-07 9:51
John_Allred29-Nov-07 9:51 
Ping the gateway or a well-known server:

(from http://msdn2.microsoft.com/en-us/library/system.net.networkinformation.ping.aspx[^]):
using System;
using System.Net;
using System.Net.NetworkInformation;
using System.Text;

namespace Examples.System.Net.NetworkInformation.PingTest
{
public class PingExample
{
// args[0] can be an IPaddress or host name.
public static void Main (string[] args)
{
Ping pingSender = new Ping ();
PingOptions options = new PingOptions ();

// Use the default Ttl value which is 128,
// but change the fragmentation behavior.
options.DontFragment = true;

// Create a buffer of 32 bytes of data to be transmitted.
string data = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
byte[] buffer = Encoding.ASCII.GetBytes (data);
int timeout = 120;
PingReply reply = pingSender.Send (args[0], timeout, buffer, options);
if (reply.Status == IPStatus.Success)
{
Console.WriteLine ("Address: {0}", reply.Address.ToString ());
Console.WriteLine ("RoundTrip time: {0}", reply.RoundtripTime);
Console.WriteLine ("Time to live: {0}", reply.Options.Ttl);
Console.WriteLine ("Don't fragment: {0}", reply.Options.DontFragment);
Console.WriteLine ("Buffer size: {0}", reply.Buffer.Length);
}
}
}
}
QuestionProgressBar Control [SOLVED] Pin
#realJSOP25-Nov-07 2:30
professional#realJSOP25-Nov-07 2:30 
AnswerRe: ProgressBar Control Pin
Luc Pattyn25-Nov-07 3:09
sitebuilderLuc Pattyn25-Nov-07 3:09 
QuestionLogs, logging, best practice... advice please Pin
Oshtri Deka23-Nov-07 10:06
professionalOshtri Deka23-Nov-07 10:06 
AnswerRe: Logs, logging, best practice... advice please Pin
Robert Rohde24-Nov-07 21:41
Robert Rohde24-Nov-07 21:41 
AnswerRe: Logs, logging, best practice... advice please Pin
Not Active25-Nov-07 12:51
mentorNot Active25-Nov-07 12:51 
AnswerRe: Logs, logging, best practice... advice please Pin
Vasudevan Deepak Kumar25-Nov-07 18:11
Vasudevan Deepak Kumar25-Nov-07 18:11 
AnswerRe: Logs, logging, best practice... advice please Pin
PIEBALDconsult26-Nov-07 9:28
mvePIEBALDconsult26-Nov-07 9:28 
QuestionAccurate DateTime.Now change notifications? Pin
chaiguy133723-Nov-07 7:35
chaiguy133723-Nov-07 7:35 
AnswerRe: Accurate DateTime.Now change notifications? Pin
Luc Pattyn23-Nov-07 8:25
sitebuilderLuc Pattyn23-Nov-07 8:25 
GeneralRe: Accurate DateTime.Now change notifications? Pin
chaiguy133723-Nov-07 8:37
chaiguy133723-Nov-07 8:37 
QuestionCalling .m file from VB .Net Pin
Atrish22-Nov-07 19:57
Atrish22-Nov-07 19:57 
AnswerRe: Calling .m file from VB .Net Pin
Vasudevan Deepak Kumar22-Nov-07 20:59
Vasudevan Deepak Kumar22-Nov-07 20:59 
AnswerRe: Calling .m file from VB .Net Pin
Dave Kreskowiak23-Nov-07 5:15
mveDave Kreskowiak23-Nov-07 5:15 
QuestionRestarting of remote-type's server Pin
Kurkin Dmitry22-Nov-07 18:22
Kurkin Dmitry22-Nov-07 18:22 
QuestionMicrosoft .NET Framework 3.0 Service Pack 1 Pin
mejax22-Nov-07 7:54
mejax22-Nov-07 7:54 
AnswerRe: Microsoft .NET Framework 3.0 Service Pack 1 Pin
Vasudevan Deepak Kumar22-Nov-07 21:01
Vasudevan Deepak Kumar22-Nov-07 21:01 
QuestionBring .NET windows to the front Pin
__DanC__22-Nov-07 2:34
__DanC__22-Nov-07 2: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.