1) stupid answer2) no, there is no way how to obtain the name... you can
obtain dns name, not the machine's name... Only one way I can figure out is
that machine name is stored in environment variable computername... So to
post content of the variable back to the server....

Yeah, Mustafa, one more thing...
"There must be some library that access client machine's name", this was
really funny sentence, learn something about how http works.

2009/8/18 Mustafa Battal <[email protected]>

> it is simply because code access the server machine's name, i'm not an
> expert on the subject but there must be some library that access client
> machine's name, and i'm pretty sure it won't take much to look up google for
> it.
> good luck.
>
>
> On Tue, Aug 18, 2009 at 3:39 PM, vikas arora <[email protected]>wrote:
>
>> hello everyone,
>> My problem is i need to access the computer name using website.
>>
>> on local system the following code work fine..
>>
>> Dim MyName As String = System.Windows.Forms.SystemInformation.ComputerName
>>
>> or
>>
>> Dim MyName As String = System.Environment.UserName
>>
>> bt when i use this code on my site it's display a series of numbers &
>> alphabets.
>>
>> thanx
>>
>
>
>
> --
> (mustafa battal)
>

Reply via email to