Get the IP Address of the RDP Client using vb.net -


i'm trying ip address of rdp client can keep record of connecting our server , @ times. there way using vb.net? i've tried returns ip address of server.

thanks!

an excerpt actual code looking for.

 private sub button1_click(byval sender object, byval e system.eventargs) handles button1.click         dim servername string         dim clientinfo new wts_client_info         redim clientinfo.address(20)         servername = ""         'server name can name of choice or name of server on application running         if getsessions(servername, clientinfo) = true             dim str string             str = "user name: " & clientinfo.wtsusername             str &= vbnewline & "station name: " & clientinfo.wtsstationname             str &= vbnewline & "domain name: " & clientinfo.wtsdomainname             if clientinfo.wtsstationname <> "console"                 str &= vbnewline & "client name: " & clientinfo.wtsclientname                 str &= vbnewline & "client ip: " & clientinfo.address(2) & "." & clientinfo.address(3) & "." & clientinfo.address(4) & "." & clientinfo.address(5)             end if             messagebox.show(str)         end if     end sub 

Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -