C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » ASP.NET »

How to Get the Client System Name in Asp.net


Posted Date: 01 Nov 2008      Posted By: Ramesh      Member Level: Silver     Points: 1   Responses: 5



Hi ..


Can any one Tell me

How to Get the Clients System Name in Asp.net


Thanks
RAmesh





Responses

Author: VijayaShankar    01 Nov 2008Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

sw.WriteLine(Server.HtmlEncode(Request.RequestType));
sw.WriteLine(Server.HtmlEncode(Request.UserHostAddress));
sw.WriteLine(Server.HtmlEncode(Request.UserHostName));
sw.WriteLine(Server.HtmlEncode(Request.HttpMethod));



Author: UltimateRengan    01 Nov 2008Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

hi,
check this
http://www.dotnetspider.com/forum/ViewForum.aspx?ForumId=77146
http://www.visualbasicscript.com/m_2393/tm.htm
http://www.codingforums.com/showthread.php?t=54743
http://forums.asp.net/t/821809.aspx

i hope this may help u

Advance Happy Diwali
SAP B1



Author: Sujit Kumar    01 Nov 2008Member Level: DiamondRating: 3 out of 53 out of 53 out of 5     Points: 3

you can get client information in javascript like;

function GetClientInfo()
{
var net = new ActiveXObject(”wscript.network”);

document.write(”Computer Name : “+net.ComputerName +”‘\n User Name : “+net.UserName+”\n Domain Name : ” +net.UserDomain);

}

for more information:
http://sujitkumar.wordpress.com



Author: Miss Meetu Choudhary    01 Nov 2008Member Level: DiamondRating: 3 out of 53 out of 53 out of 5     Points: 3

you can use Server.HtmlEncode for the purpose

an example is

Server.HtmlEncode(Request.RequestType);
Server.HtmlEncode(Request.UserHostAddress);
Server.HtmlEncode(Request.UserHostName);
Server.HtmlEncode(Request.HttpMethod);

hope it helps you

++
Thanks and Regards
Meetu Choudhary

Thanks and Regards
Miss Meetu Choudhary (Site Coordinator)
Go Green Save Green
My Profile on Google



Author: ChandraShekar Thota    02 Nov 2008Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

by using server.HTML Encode

Chandra Shekar Thota
Microsoft MVP
DNS is Y(Our) Site.Please work more on it to make it Worlds Best Technical Site
chandrashekarthota@gmail.com



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : need paypal payment gateway code
Previous : Help Needed for FTP Upload service
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use