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
mohammad qasim
NA
408
0
how to get Client System name On WAN
Nov 23 2011 7:45 AM
How can i Get system name using asp.net with vb.net
I am using this .
Its working fine on Lan but on WAN it gives me client Ip Instead of Client system Name
Kindly Help
Dim SystemName As String = MachineName(Request.UserHostAddress)
Public
Shared
Function
MachineName(
ByVal
clientIP
As
String
)
As
String
Try
Dim
hostEntry = System.Net.Dns.GetHostEntry(clientIP)
Return
hostEntry.HostName
Catch
ex
As
Exception
End
Try
Reply
Answers (
0
)
How to use button click event for database connectivity and enabling java script
Open a pdf document in a aspx page