blob: 2fc79e5bb94935c2668decc0be99a313f10e6b67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
using System;
using System.Collections.Generic;
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 IWindowsActivationManager
{
/// <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();
}
}
|