TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
kevin 0
NA
6
0
C# IPHostEntry Cache???
Aug 20 2004 11:41 PM
Here is one of the coolest few lines of code to perform a NSLookUp. Simply enter an IP in textBox1, click a button and the domain name translates in textBox2 (providing your workstation is on a WAN. Q. How could we build a 'cache' to capture redundant IP's/Domain's to add lookup performance??? Q. How could we add our own know IP's/Domain's to this 'cache' ??? (Because NOT every IP will resolve) Preferably the code would check our personal 'cache' first before looking on the Internet or elsewhere..... public void ButtonLookupDomain_Click(object sender, EventArgs ea) { IPHostEntry IP = Dns.Resolve(textBox1.Text); txtBox2.Text = IP.HostName; }
Reply
Answers (
0
)
Cannot push a null value to a database using an inherited DateTimePicker
Removing BinderManagerBase from Form.BindingContext: possible?