ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/HostUpdateSharp/HostUpdateSharp.cs
Revision: 78
Committed: 2004-02-28T16:44:08-08:00 (21 years, 3 months ago) by Douglas Thrift
File size: 390 byte(s)
Log Message:
Blah! Where is the get fully qualified dns name?

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 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 Douglas Thrift 77 }
21     }

Properties

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