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 |
|
} |