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 77 by Douglas Thrift, 2004-02-28T00:37:46-08:00 vs.
Revision 78 by Douglas Thrift, 2004-02-28T16:44:08-08:00

# Line 8 | Line 8 | using System;
8   using System.IO;
9   using System.Net;
10  
11 < namespace DouglasThrift.HostUpdateSharp
11 > public class HostUpdateSharp
12   {
13 <        public class HostUpdateSharp
13 >        public static void Main(string[] args)
14          {
15 <                public static void Main(string[] args)
16 <                {
17 <                        //
18 <                }
15 >                OperatingSystem os = Environment.OSVersion;
16 >                string host = Dns.GetHostName();
17 >                string url = "http://topsecret.douglasthrift.net/auth/hostupdate.cgi";
18 >
19 >                Console.WriteLine(os + "\n" + host + "\n" + url);
20          }
21   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines