I am aware that is is possible to determine the web client computer name
using DNS, i.e. invoke System.Net.Dns. GetHostEntry(
System.Web.Http Request.UserHos tAddress). However, this only seems to work if
the client computer resides within the same domain as the web server.
Is it possible to determine the computer name for a web client which resides
in a different domain to the web server? 8 7457
Try Request.UserHos tName.
--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET] http://msmvps.com/blogs/egoldin http://usableasp.net
"BDRichards on" <BD**********@d iscussions.micr osoft.comwrote in message
news:E5******** *************** ***********@mic rosoft.com...
>I am aware that is is possible to determine the web client computer name
using DNS, i.e. invoke System.Net.Dns. GetHostEntry(
System.Web.Http Request.UserHos tAddress). However, this only seems to work
if
the client computer resides within the same domain as the web server.
Is it possible to determine the computer name for a web client which
resides
in a different domain to the web server?
Unfortunately, that only returns the IP Address :-(
"Eliyahu Goldin" wrote:
Try Request.UserHos tName.
--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET] http://msmvps.com/blogs/egoldin http://usableasp.net
"BDRichards on" <BD**********@d iscussions.micr osoft.comwrote in message
news:E5******** *************** ***********@mic rosoft.com...
I am aware that is is possible to determine the web client computer name
using DNS, i.e. invoke System.Net.Dns. GetHostEntry(
System.Web.Http Request.UserHos tAddress). However, this only seems to work
if
the client computer resides within the same domain as the web server.
Is it possible to determine the computer name for a web client which
resides
in a different domain to the web server?
for internet users, most use a proxy that will hide their machine name via
nat translation. if this in an internal application, you can configure
win/dhcp to update your internal dns server with the computer name.
-- bruce (sqlwork.com)
"BDRichards on" wrote:
I am aware that is is possible to determine the web client computer name
using DNS, i.e. invoke System.Net.Dns. GetHostEntry(
System.Web.Http Request.UserHos tAddress). However, this only seems to work if
the client computer resides within the same domain as the web server.
Is it possible to determine the computer name for a web client which resides
in a different domain to the web server?
I don't think there is any other way.
--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET] http://msmvps.com/blogs/egoldin http://usableasp.net
"BDRichards on" <BD**********@d iscussions.micr osoft.comwrote in message
news:AA******** *************** ***********@mic rosoft.com...
Unfortunately, that only returns the IP Address :-(
"Eliyahu Goldin" wrote:
>Try Request.UserHos tName.
-- Eliyahu Goldin, Software Developer Microsoft MVP [ASP.NET] http://msmvps.com/blogs/egoldin http://usableasp.net
"BDRichardso n" <BD**********@d iscussions.micr osoft.comwrote in message news:E5******* *************** ************@mi crosoft.com...
>I am aware that is is possible to determine the web client computer name
using DNS, i.e. invoke System.Net.Dns. GetHostEntry(
System.Web.Http Request.UserHos tAddress). However, this only seems to
work
if
the client computer resides within the same domain as the web server.
Is it possible to determine the computer name for a web client which
resides
in a different domain to the web server?
I understand the basic concepts of DNS and DHCP from when I had technical
support roles, however, my knowledge of these areas is becoming a little
dated.
Are you telling me that one DNS server can be configured to update the
records of a different server in a different domain? i.e. DNS ServerA in
DomainA can inform DNS ServerB in DomainB that ComputerA exists.
If the systems can be configured to solve my problem, then I will have to
ask the systems guys to investigate.
"bruce barker" wrote:
for internet users, most use a proxy that will hide their machine name via
nat translation. if this in an internal application, you can configure
win/dhcp to update your internal dns server with the computer name.
-- bruce (sqlwork.com)
"BDRichards on" wrote:
I am aware that is is possible to determine the web client computer name
using DNS, i.e. invoke System.Net.Dns. GetHostEntry(
System.Web.Http Request.UserHos tAddress). However, this only seems to work if
the client computer resides within the same domain as the web server.
Is it possible to determine the computer name for a web client which resides
in a different domain to the web server?
And the result you get is ? Any specific IP we could try ?
IMO this is more likely that some ISP won't bother with handling this so in
some cases the ISP will either ignore the request or will return some random
name...
What would you do with the host name ?
"BDRichards on" <BD**********@d iscussions.micr osoft.coma écrit dans le
message de news: E5************* *************** **...icrosof t.com...
>I am aware that is is possible to determine the web client computer name
using DNS, i.e. invoke System.Net.Dns. GetHostEntry(
System.Web.Http Request.UserHos tAddress). However, this only seems to work
if
the client computer resides within the same domain as the web server.
Is it possible to determine the computer name for a web client which
resides
in a different domain to the web server?
Please let me steer you back on to the path of my enquiry.
This is only for an Intranet application, and I am referring to internal
corporate domains.
Sorry for not being clearer from the outset!
"Patrice" wrote:
And the result you get is ? Any specific IP we could try ?
IMO this is more likely that some ISP won't bother with handling this so in
some cases the ISP will either ignore the request or will return some random
name...
What would you do with the host name ?
"BDRichards on" <BD**********@d iscussions.micr osoft.coma écrit dans le
message de news: E5************* *************** **...icrosof t.com...
I am aware that is is possible to determine the web client computer name
using DNS, i.e. invoke System.Net.Dns. GetHostEntry(
System.Web.Http Request.UserHos tAddress). However, this only seems to work
if
the client computer resides within the same domain as the web server.
Is it possible to determine the computer name for a web client which
resides
in a different domain to the web server?
And the result you get when trying is ? I also tried to resolve
207.46.192.254 which is a microsoft.com machine and it works...
--
Patrice
"BDRichards on" <BD**********@d iscussions.micr osoft.coma écrit dans le
message de news: 4B************* *************** **...icrosof t.com...
Please let me steer you back on to the path of my enquiry.
This is only for an Intranet application, and I am referring to internal
corporate domains.
Sorry for not being clearer from the outset!
"Patrice" wrote:
>And the result you get is ? Any specific IP we could try ?
IMO this is more likely that some ISP won't bother with handling this so in some cases the ISP will either ignore the request or will return some random name...
What would you do with the host name ?
"BDRichardso n" <BD**********@d iscussions.micr osoft.coma écrit dans le message de news: E5************* *************** **...icrosof t.com...
>I am aware that is is possible to determine the web client computer name
using DNS, i.e. invoke System.Net.Dns. GetHostEntry(
System.Web.Http Request.UserHos tAddress). However, this only seems to
work
if
the client computer resides within the same domain as the web server.
Is it possible to determine the computer name for a web client which
resides
in a different domain to the web server?
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ken Allen |
last post by:
Most of .Net seems to be focused on the concept of multiple clients and a
single server that provides the control. All of the examples that I have
seen presume that the client code knows the computer system on which the
server component resides.
1. If the client does not know the name of the computer system, how can it
locate that system?
2. If there are two or more computer systems all making the same server
component available (even...
|
by: cedced |
last post by:
Hello,
is it possible to access client files in VB.NET?
What?
I have doing that but it isn't good (VB.NET take file on pc server and not
on pc client):
(thanks)
Dim fichier As StreamReader
Dim name As String
|
by: Matt Frame |
last post by:
I am working on a special ASP.Net application that receives files from
customers. The connection is made via HTTPS and the client sends the file
as a POST to my ASP.Net listener. All of this works fine. Now I am looking
at how to validate the clients certificate programmatically. The client
application sends to me with something like:
....
Dim myHttp As HttpWebRequest =
CType(WebRequest.Create(https://myserver/Receive.aspx),...
|
by: Carl Jones via .NET 247 |
last post by:
(Type your message here)
I'm trying to run a client-side script from a web page.
It's a VB script that gets information (computer name, software versions etc )about the computer and writes it to a txt file.
If I simply run the script from a button click it gathers the information of the server, not the workstation, no matter what workstation I'm on.
What am I missing?
--------------------------------
From: Carl Jones
...
|
by: Murat YILMAZ |
last post by:
Hi all,
I have develop a web page and there are 4 textbox on it. I have put 4
validation for these.
Issue is that If I have request this page and submit form validations are
not working. But I have put other computer then try again. It is working...
I have look source from "view source" selection. And I see what On the my
computer was not load some thing to button on click. But other computer was
load.
| |
by: libero familymac news |
last post by:
Hy!
sorry for my bad english...
i'm developping web forms in c# and i have to take the client machine name
I try with server variables ( request.servervariables ) and with
request.hostname() hostaddress()
dosn't work because ( i think ) in lan we don't have a dns server then
|
by: WhatHappend |
last post by:
I have converted a .Net 1.0 application to .Net 2.0 and the web service
invocations have delay of around 10seconds on each intial access. After the
first access subsequent access are fast (After a whild of inactivity the next
access will be slow agian). Changing the client to static IP address instead
of DHCP makes the initial access about 1 second which is fine.
Monitoring the network of the client computer the cleint is sending out 2...
|
by: DR |
last post by:
What ports do i need to unblock on client and server (running msvsmon.exe)
to debug remotely from my client box with visual studio 2005 pro?
When I attach to remote process a connection shows up in msvsmon.exe on the
remote machine, however, the client box with visual studio displays error:
"Unable to connect to the mricosoft visual studio remtoe debugging monitor
named 'the box name' the micorosft visual studio remote debugging monitor...
|
by: nsaffary |
last post by:
hi
I hava a client/server program that run correctly when i run it in one computer(local) but when I run client on a one computer and run server run on another, connection does not stablish.(I set server machine IP for client and server) please guide me?
server :
#include <winsock2.h>
#include <iostream>
#include <stdio.h>
#include <string.h>
#include <windows.h>
#pragma comment(lib, "ws2_32");
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |