aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/Bit/IBitManager.cs
blob: a89340d08ad2656cf5ee2553ba7ff47c38d78224 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.PPC.Common.Bit
{
    public interface IBitManager
    {
        Task ShowBitResultsDialog();
    }
}
fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.PPC.Common.OS
{
    /// <summary>
    /// Represents a windows license activation manager.
    /// </summary>
    public interface IOperationSystemManager
    {
        /// <summary>
        /// Determines whether the OS is activated.
        /// </summary>
        /// <returns></returns>
        Task<bool> IsActivated();

        /// <summary>
        /// Activates the OS using the specified activation key.
        /// </summary>
        /// <param name="activationKey">The activation key.</param>
        /// <returns></returns>
        Task Activate(String activationKey);

        /// <summary>
        /// Deactivates the OS license.
        /// </summary>
        /// <returns></returns>
        Task Deactivate();

        /// <summary>
        /// Gets the available time zones.
        /// </summary>
        /// <returns></returns>
        ReadOnlyCollection<TimeZoneInfo> GetAvailableTimeZones();

        /// <summary>
        /// Changes the operation system time zone.
        /// </summary>
        /// <param name="timeZone">The time zone.</param>
        /// <returns></returns>
        Task ChangeTimeZone(TimeZoneInfo timeZone);

        /// <summary>
        /// Gets the machine unique identifier.
        /// </summary>
        /// <returns></returns>
        Task<String> GetDeviceId();

        /// <summary>
        /// Gets the machine host name.
        /// </summary>
        /// <returns></returns>
        Task<String> GetDeviceName();

        /// <summary>
        /// Sets the device host name.
        /// </summary>
        /// <returns></returns>
        Task SetDeviceName(String name);

        /// <summary>
        /// Restarts the system.
        /// </summary>
        /// <returns></returns>
        void Restart();

        /// <summary>
        /// Shutdown the system.
        /// </summary>
        /// <returns></returns>
        void Shutdown();

        /// <summary>
        /// Opens the operating system shell (explorer).
        /// </summary>
        void OpenShell();
    }
}