# | Line 37 | Line 37 | public class HostUpdateSharp | |
---|---|---|
37 | } | |
38 | public HostUpdateSharp() | |
39 | { | |
40 | < | StringBuilder host = new StringBuilder("host=" + Dns.GetHostName()); |
40 | > | StringBuilder host = new StringBuilder("host=" + |
41 | > | Dns.GetHostName().ToLower()); |
42 | string url = "http://topsecret.douglasthrift.net/auth/hostupdate.cgi"; | |
43 | ||
44 | if ((host + "").IndexOf('.') < 0) | |
# | Line 87 | Line 88 | public class HostUpdateSharp | |
88 | { | |
89 | if (uname == "") | |
90 | { | |
91 | < | "Unknown 0.0 x86"; |
91 | > | uname = "Unknown 0.0 x86"; |
92 | } | |
93 | + | |
94 | + | return uname; |
95 | } | |
96 | #else | |
97 | private static string platform() |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |