Hi,
Is there a property (similar to Port) which allows me to read the bound IP address of the RemObjects .Net server? I would like to display that when the server is run as an application.
// Thom
Hi,
Is there a property (similar to Port) which allows me to read the bound IP address of the RemObjects .Net server? I would like to display that when the server is run as an application.
// Thom
Hello
The same server can be bound to more than 1 network interface (unless explicitly configured to accept connections from only one interface)
You can enumerate all known network interfaces using this code (taken from MS docs):
public static void DisplayDnsConfiguration()
{
NetworkInterface[] adapters = NetworkInterface.GetAllNetworkInterfaces();
foreach (NetworkInterface adapter in adapters)
{
IPInterfaceProperties properties = adapter.GetIPProperties();
Console.WriteLine(adapter.Description);
Console.WriteLine(" DNS suffix .............................. : {0}",
properties.DnsSuffix);
Console.WriteLine(" DNS enabled ............................. : {0}",
properties.IsDnsEnabled);
Console.WriteLine(" Dynamically configured DNS .............. : {0}",
properties.IsDynamicDnsEnabled);
}
Console.WriteLine();
}
Regards