Azure Bastion
An Azure service that provides private and fully managed Remote Desktop Protocol (RDP) and Secure Shell (SSH) access to virtual machines.
263 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
My win 2016 server has multi network interfaces and addresses. When I logon on by rdp and try to get current rdp session information by WTSQuerySessionInformation API in C# code, I want to know which server ip address does current rdp session use. But WTSQuerySessionInformation does not return this. Is there any other solution?
Greetings,
We pick the private address from the primary network interface while using Azure Bastion.
Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.