Made it get the public ipv4 address
This commit is contained in:
parent
bdee2d039b
commit
5d8c44317d
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ namespace LightReflectiveMirror
|
|||
instance = this;
|
||||
_startupTime = DateTime.Now;
|
||||
using (WebClient wc = new WebClient())
|
||||
publicIP = wc.DownloadString("http://icanhazip.com").Replace("\\r", "").Replace("\\n", "").Trim();
|
||||
publicIP = wc.DownloadString("http://ipv4.icanhazip.com").Replace("\\r", "").Replace("\\n", "").Trim();
|
||||
|
||||
if (!File.Exists(CONFIG_PATH))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue