Retrieving the external IP address with .NET

by Matthias Broschk October 11, 2006 18:02
Sometimes you might require to determine your external IP address (the one assigned to you by your ISP). If you have direct access to the internet, you can retrieve your IP by using “ipconfig -all” or the following peace of code. IPHostEntry IPHost = Dns.GetHostByName(Dns.GetHostName()); lblStatus.Text = "My IP address is " + IPHost.AddressList[0].ToString(); Usually your computer is se... [More]

Tags: ,

Misk

Force AVM FritzBox router to reconnect to ISP and get a new IP address

by Matthias Broschk September 15, 2006 14:16
Several websites such as file hosters track users and limit access (for example the amount of request within a certain time period) by logging the user IP. If you have a direct connection to the internet you won’t have any problems reconnecting and getting a new IP (unless you have a static IP).  This can quite easily be done programmatically. But in some cases you are probably connected to ... [More]

Tags: ,

Misk

How to parse Rapidshare URLs with C#

by Matthias Broschk May 03, 2004 02:20
File-hosters such as Rapidshare have been exploding everywhere within the last few years. Since it is common for the files to be split into several archives and the links to them are sometimes spread over one or even more web pages it can be a pain in the neck to gather them individually (. Therefore I wrote a small parser, which retrieves all Rapidshare links from a given URL by using Regular Ex... [More]

Tags: , ,

Misk

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen | Modified by Mooglegiant

About the author

Matthias Broschk from Hamburg (Germany) wrote his first goto statements in QuickBasic at the age of fifteen, switched to Visual Studio (i.e. Visual Basic / Visual C++) at version 5.0 and has been an addict of .NET since its early beginnings. There have been many other languages and frameworks (Java, PHP, ... ), but none about which he has been as enthusiastic as .NET. These days you can find more information in blogs rather than anywhere else. Therefore he has decided to share his experiences and start yet another .NET blog.