ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/HostUpdateSharp/HostUpdateSharp.cs
(Generate patch)

Comparing HostUpdateSharp/HostUpdateSharp.cs (file contents):
Revision 100 by Douglas Thrift, 2004-03-02T01:35:17-08:00 vs.
Revision 106 by Douglas Thrift, 2004-03-02T14:08:44-08:00

# 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";
92                  }
93 +
94 +                return uname;
95          }
96   #else
97          private static string platform()

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines