Microsoft
Software
Hardware
Network
Question : How to get client machine name from WCF Service
I know how to get the client's IP Address but I would prefer to get the machine name that made the request to a WCF Service. Does anyone know how to do this?
Answer : How to get client machine name from WCF Service
I got it by doing the following. Anyone else have a better approach?
Dns.GetHostByAddress(((Rem
oteEndpoin
tMessagePr
operty)Ope
rationCont
ext.Curren
t.Incoming
MessagePro
perties[Re
moteEndpoi
ntMessageP
roperty.Na
me]).Addre
ss).HostNa
me;
Random Solutions
MS Access and DAT files
Completely confused about Live Sync
Group and Count consecutive numbers in an Access dataset
Searching for number range in string
Error-handling if SQLCMD fails in .bat Windows script
VBA functions Trim, Left and Right not working
SQL sever 2008 trial edition restoring .bak file
Increase number of rows per page in ASP.NET GridView
XML in to an ADO Recordset
Incorrect syntax near '#'. in ADODB.Connection in Excel workbook