blob: dfa3576c4eca88016a54ca19961715fdd7c967e6 (
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
34
35
36
37
38
39
40
41
42
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Core;
using Tango.WiFi;
namespace Tango.PPC.Common.Connectivity
{
public class WiFiAuthentication : ExtendedObject
{
public AuthRequest AuthRequest { get; set; }
public bool IsUserNameRequired
{
get { return AuthRequest.IsUsernameRequired; }
}
public bool IsPasswordRequired
{
get { return AuthRequest.IsPasswordRequired; }
}
public String UserName
{
get { return AuthRequest.Username; }
set { AuthRequest.Username = value; RaisePropertyChangedAuto(); }
}
public String Password
{
get { return AuthRequest.Password; }
set { AuthRequest.Password = value; RaisePropertyChangedAuto(); }
}
public WiFiAuthentication(AuthRequest request)
{
AuthRequest = request;
}
}
}
|