Go Back   Desi Club Torrent » General Chatroom » Tech - O - Mania

Tech - O - Mania u think u are genius Prove it help others ...






Reply
 
Thread Tools
  #1  
Old 06-18-2008, 07:34 AM
baadshahdon's Avatar
мя NobodY ҉ •●● [̲̅☺̲̅] ●
 
Join Date: Dec 2007
Location: ▌▌▌Dil MeiN ▌▌▌
Posts: 1,288
Thanks: 401
Thanked 174 Times in 40 Posts
baadshahdon has a reputation beyond reputebaadshahdon has a reputation beyond reputebaadshahdon has a reputation beyond reputebaadshahdon has a reputation beyond reputebaadshahdon has a reputation beyond reputebaadshahdon has a reputation beyond reputebaadshahdon has a reputation beyond reputebaadshahdon has a reputation beyond reputebaadshahdon has a reputation beyond reputebaadshahdon has a reputation beyond reputebaadshahdon has a reputation beyond repute
Send a message via Yahoo to baadshahdon
Default IP finder - C#

NOT CODED BY ME!
Code:
using System;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;

namespace DreamInCode.Snippets
{
****public class IpFinder
****{
********public static IPAddress GetExternalIP()
********{
************string whatIsMyIp = "http://whatismyip.com";
************string getIpRegex = @"(?<=<TITLE>.*)\d*\.\d*\.\d*\.\d*(?=</TITLE>)";
************WebClient wc = new WebClient();
************UTF8Encoding utf8 = new UTF8Encoding();
************string requestHtml = "";
************try
************{
****************requestHtml = utf8.GetString(wc.DownloadData(whatIsMyIp));
************}
************catch (WebException we)
************{
****************// do something with exception
****************Console.Write(we.ToString());
************}
************Regex r = new Regex(getIpRegex);
************Match m = r.Match(requestHtml);
************IPAddress externalIP = null;
************if (m.Success)
************{
****************externalIP = IPAddress.Parse(m.Value);
************}
************return externalIP;
********}
****}
}
▌▌plz press the thanx button and add reps if u like my post▌▌
The Following User Says Thank You to baadshahdon For This Useful Post:
-=DesiClassics=- (06-18-2008)
  #2  
Old 06-18-2008, 07:36 AM
Guzaarish............
 
Join Date: Apr 2008
Posts: 4,678
Thanks: 1,165
Thanked 1,018 Times in 139 Posts
-=[Rohit]=- has a reputation beyond repute-=[Rohit]=- has a reputation beyond repute-=[Rohit]=- has a reputation beyond repute-=[Rohit]=- has a reputation beyond repute-=[Rohit]=- has a reputation beyond repute-=[Rohit]=- has a reputation beyond repute-=[Rohit]=- has a reputation beyond repute-=[Rohit]=- has a reputation beyond repute-=[Rohit]=- has a reputation beyond repute-=[Rohit]=- has a reputation beyond repute-=[Rohit]=- has a reputation beyond repute
Send a message via MSN to -=[Rohit]=-
Default Re: IP finder - C#

too old stuff

btw those who dont have it is nice one for them
  #3  
Old 06-18-2008, 12:21 PM
deepeshjain's Avatar
i belive in me
 
Join Date: Aug 2007
Location: Whr ThE GaMe EnD
Posts: 3,570
Thanks: 490
Thanked 86 Times in 18 Posts
deepeshjain has a reputation beyond reputedeepeshjain has a reputation beyond reputedeepeshjain has a reputation beyond reputedeepeshjain has a reputation beyond reputedeepeshjain has a reputation beyond reputedeepeshjain has a reputation beyond reputedeepeshjain has a reputation beyond reputedeepeshjain has a reputation beyond reputedeepeshjain has a reputation beyond reputedeepeshjain has a reputation beyond reputedeepeshjain has a reputation beyond repute
Send a message via MSN to deepeshjain
Default Re: IP finder - C#

ya dude old stuff
  #4  
Old 06-18-2008, 08:40 PM
marshal_ramdev's Avatar
Desi Club Badshah
 
Join Date: Dec 2007
Location: INto the VaSt WoRlD of INterNet
Posts: 1,903
Thanks: 1,094
Thanked 103 Times in 16 Posts
marshal_ramdev has a reputation beyond reputemarshal_ramdev has a reputation beyond reputemarshal_ramdev has a reputation beyond reputemarshal_ramdev has a reputation beyond reputemarshal_ramdev has a reputation beyond reputemarshal_ramdev has a reputation beyond reputemarshal_ramdev has a reputation beyond reputemarshal_ramdev has a reputation beyond reputemarshal_ramdev has a reputation beyond reputemarshal_ramdev has a reputation beyond reputemarshal_ramdev has a reputation beyond repute
Send a message via MSN to marshal_ramdev Send a message via Yahoo to marshal_ramdev
Default Re: IP finder - C#

hmmmmm
  #5  
Old 06-23-2008, 07:53 PM
ะộ§ộะ мя žǒǒŁ ะộ§ộะ's Avatar
̿ ̿̿̿̿̿'̿'\̵͇̿̿\
 
Join Date: Nov 2007
Location: รคย๔เ คгค๒เค
Posts: 5,269
Thanks: 545
Thanked 402 Times in 72 Posts
ะộ§ộะ мя žǒǒŁ ะộ§ộะ has a reputation beyond reputeะộ§ộะ мя žǒǒŁ ะộ§ộะ has a reputation beyond reputeะộ§ộะ мя žǒǒŁ ะộ§ộะ has a reputation beyond reputeะộ§ộะ мя žǒǒŁ ะộ§ộะ has a reputation beyond reputeะộ§ộะ мя žǒǒŁ ะộ§ộะ has a reputation beyond reputeะộ§ộะ мя žǒǒŁ ะộ§ộะ has a reputation beyond reputeะộ§ộะ мя žǒǒŁ ะộ§ộะ has a reputation beyond reputeะộ§ộะ мя žǒǒŁ ะộ§ộะ has a reputation beyond reputeะộ§ộะ мя žǒǒŁ ะộ§ộะ has a reputation beyond reputeะộ§ộะ мя žǒǒŁ ะộ§ộะ has a reputation beyond reputeะộ§ộะ мя žǒǒŁ ะộ§ộะ has a reputation beyond repute
Send a message via ICQ to ะộ§ộะ мя žǒǒŁ ะộ§ộะ Send a message via AIM to ะộ§ộะ мя žǒǒŁ ะộ§ộะ Send a message via MSN to ะộ§ộะ мя žǒǒŁ ะộ§ộะ Send a message via Yahoo to ะộ§ộะ мя žǒǒŁ ะộ§ộะ Send a message via Skype™ to ะộ§ộะ мя žǒǒŁ ะộ§ộะ
Default Re: IP finder - C#

tfs
Reply

Bookmarks

Thread Tools





All times are GMT. The time now is 12:53 AM.

Powered by vBulletin 3.7


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.