My application is hosted on Intranet https://10.43.10.112:100/index.aspx
So how can I find my domain name for following https://devopscube.com/create-self-signed-certificates-openssl/.
Hi setwell,
You have to use GetHostEntry method of Dns class.
IPAddress ipAddress = IPAddress.Parse("10.43.10.112"); PHostEntry entry = Dns.GetHostEntry(iPAddress); string domainName = entry.HostName;
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.