Click here to Skip to main content
15,914,642 members
Home / Discussions / C#
   

C#

 
QuestionHow to find an available port...!! Pin
Søren Christensen3-Nov-03 22:23
Søren Christensen3-Nov-03 22:23 
AnswerRe: How to find an available port...!! Pin
Heath Stewart4-Nov-03 2:45
protectorHeath Stewart4-Nov-03 2:45 
GeneralRe: How to find an available port...!! Pin
Søren Christensen4-Nov-03 4:30
Søren Christensen4-Nov-03 4:30 
GeneralC# Mail & Request Read Receipt Pin
Raj Warrier3-Nov-03 19:32
Raj Warrier3-Nov-03 19:32 
GeneralRe: C# Mail & Request Read Receipt Pin
Steve S4-Nov-03 1:33
Steve S4-Nov-03 1:33 
Questionhow to know a file is accessed by another process Pin
NotProfessional3-Nov-03 17:13
NotProfessional3-Nov-03 17:13 
AnswerRe: how to know a file is accessed by another process Pin
Heath Stewart4-Nov-03 3:20
protectorHeath Stewart4-Nov-03 3:20 
GeneralRe: Using ADO Recordset.AddNew in C# Pin
Heath Stewart4-Nov-03 3:03
protectorHeath Stewart4-Nov-03 3:03 
QuestionImage composition ?? Pin
azusakt3-Nov-03 14:26
azusakt3-Nov-03 14:26 
AnswerRe: Image composition ?? Pin
Christian Graus3-Nov-03 15:01
protectorChristian Graus3-Nov-03 15:01 
GeneralCreating Attributes At Run Time Pin
Markyg3-Nov-03 14:02
Markyg3-Nov-03 14:02 
GeneralRe: Creating Attributes At Run Time Pin
Mike Ellison4-Nov-03 2:51
Mike Ellison4-Nov-03 2:51 
GeneralRe: Creating Attributes At Run Time Pin
Heath Stewart4-Nov-03 3:00
protectorHeath Stewart4-Nov-03 3:00 
GeneralRe: Creating Attributes At Run Time Pin
Mike Ellison4-Nov-03 6:20
Mike Ellison4-Nov-03 6:20 
GeneralRe: Creating Attributes At Run Time Pin
Markyg4-Nov-03 10:34
Markyg4-Nov-03 10:34 
GeneralRe: Creating Attributes At Run Time Pin
Roger Alsing4-Nov-03 3:52
Roger Alsing4-Nov-03 3:52 
GeneralWAN IP address Pin
marnicola3-Nov-03 13:10
marnicola3-Nov-03 13:10 
GeneralRe: WAN IP address Pin
Heath Stewart4-Nov-03 2:53
protectorHeath Stewart4-Nov-03 2:53 
If you're linksys has the latest BIOS update, you could use the UPnP interface to query the external IP address. You'll need to find more information about UPnP in MSDN or download the SDK from the same site. There's far too much to cover on a broad topic here.

Another way - somewhat of a hack - would be to create a new process (see System.Diagnostics.Process) to start tracert.exe and redirect its stdout. The second hop should be the IP address of your linksys's external interface. This only works if it allows pings out if firewalled.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: WAN IP address Pin
martiwy4-Nov-03 20:30
martiwy4-Nov-03 20:30 
GeneralRe: WAN IP address Pin
marnicola5-Nov-03 12:02
marnicola5-Nov-03 12:02 
GeneralRe: WAN IP address Pin
martiwy6-Nov-03 7:05
martiwy6-Nov-03 7:05 
GeneralRe: WAN IP address Pin
marnicola9-Nov-03 16:47
marnicola9-Nov-03 16:47 
Generalproblem Pin
bora3ee3-Nov-03 12:54
bora3ee3-Nov-03 12:54 
GeneralRe: problem Pin
Divyesh Virani3-Nov-03 19:39
Divyesh Virani3-Nov-03 19:39 
GeneralZ Buffer question in D3d 9 Pin
Arturo Mayorga3-Nov-03 12:09
Arturo Mayorga3-Nov-03 12:09 

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.