Re: Remote Machine Name
From: Saravana (saravank@sct.co.in)
Date: 03/21/03
- Next message: Chris Blanco: "Re: Authenticating users in an n-Tier/layer architecture"
- Previous message: Zdenko: "Re: Hierarchical Role Based Security using forms authentication"
- In reply to: Khan Imran: "Re: Remote Machine Name"
- Next in thread: Khan Imran: "Re: Remote Machine Name"
- Reply: Khan Imran: "Re: Remote Machine Name"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Saravana" <saravank@sct.co.in> Date: Fri, 21 Mar 2003 16:54:39 +0530
You can try this to get remote machine name, if you have ipaddress.
System.Net.Dns.GetHostByAddress("192.168.123.138").HostName
-Saravana
MCAD,SE,SD,DBA.
"Khan Imran" <naveenh@htmt.soft.net> wrote in message
news:u6vRv927CHA.2376@TK2MSFTNGP10.phx.gbl...
> I am sorry but I didn't get the hint, I am working on a LAN .
> How do you suggest that I am overcome this problem.
>
> Please help me out here
>
> Khan Imran
>
>
> "Mirco Kaffsach" <mka@oevermann.de> wrote in message
> news:OpUCrke7CHA.1932@TK2MSFTNGP12.phx.gbl...
> > Hi,
> >
> > I think thats the normal way how an application behaves. If you don't
have
> a
> > dns-entry for this IP, the app resolves, you can't get the name
> > corresponding to that ip.
> >
> > But I don't know if you got this prob in lan or wan. So thats just a
hint.
> >
> > CU Mirco
> >
> > "Khan Imran" <naveenh@htmt.soft.net> schrieb im Newsbeitrag
> > news:ux7OHdc7CHA.548@TK2MSFTNGP11.phx.gbl...
> > > Hi..
> > > I am trying to develop a intranet site and was trying to get the
> machine
> > > name using the following code:
> > > String ClientName;
> > > ClientName = Request.UserHostName;
> > > Response.Write(ClientName);
> > >
> > > But the code is returning the IP address and not the machine name what
I
> > > wanted was something that would the machine Name...
> > >
> > >
> >
> >
>
>
- Next message: Chris Blanco: "Re: Authenticating users in an n-Tier/layer architecture"
- Previous message: Zdenko: "Re: Hierarchical Role Based Security using forms authentication"
- In reply to: Khan Imran: "Re: Remote Machine Name"
- Next in thread: Khan Imran: "Re: Remote Machine Name"
- Reply: Khan Imran: "Re: Remote Machine Name"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|