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

# Content
1 // Host Update Sharp
2 //
3 // Douglas Thrift
4 //
5 // $Id$
6
7 using System;
8 using System.IO;
9 using System.Net;
10
11 public class HostUpdateSharp
12 {
13 public static void Main(string[] args)
14 {
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 }

Properties

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