ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/HostUpdateSharp/HostUpdateSharp.cs
Revision: 80
Committed: 2004-03-01T12:40:42-08:00 (21 years, 3 months ago) by Douglas Thrift
File size: 332 byte(s)
Log Message:
Let's try this on FreeBSD!

File Contents

# User Rev Content
1 Douglas Thrift 77 // Host Update Sharp
2     //
3     // Douglas Thrift
4     //
5     // $Id$
6    
7     using System;
8     using System.IO;
9     using System.Net;
10    
11 Douglas Thrift 78 public class HostUpdateSharp
12 Douglas Thrift 77 {
13 Douglas Thrift 78 public static void Main(string[] args)
14 Douglas Thrift 77 {
15 Douglas Thrift 78 string host = Dns.GetHostName();
16     string url = "http://topsecret.douglasthrift.net/auth/hostupdate.cgi";
17    
18 Douglas Thrift 80 Console.WriteLine(host + "\n" + url);
19 Douglas Thrift 77 }
20     }

Properties

Name Value
svn:eol-style native
svn:keywords Id