//-----------------------------------------------------------------------
//
// Copyright (c) ParanoidMike. All rights reserved.
//
//-----------------------------------------------------------------------
namespace ParanoidMike
{
using System;
using System.Diagnostics;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using Microsoft.Win32;
///
/// Reusable functions for many uses.
///
public static class Utility
{
///
/// Gets the major version of the operating system.
///
public static int OSVersion
{
get
{
OperatingSystem os = Environment.OSVersion;
return os.Version.Major;
}
}
}
}