aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/HotSpot/IHotSpotProvider.cs
blob: 1a4dabae370822ec3a81a91cc070c8d39c41389b (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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.PPC.Common.HotSpot
{
    /// <summary>
    /// Represents a hot-spot network provider.
    /// </summary>
    public interface IHotSpotProvider
    {
        /// <summary>
        /// Gets a value indicating whether the hot spot network is active.
        /// </summary>
        bool IsEnabled { get; }

        /// <summary>
        /// Enables the hot spot.
        /// </summary>
        /// <param name="password">The password.</param>
        /// <returns></returns>
        Task EnableHotSpot(String password);

        /// <summary>
        /// Disables the hot spot.
        /// </summary>
        /// <returns></returns>
        Task DisableHotSpot();
    }
}