forked from nanoframework/nanoFramework.IoT.Device
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AuthenticationConfiguration.cs
32 lines (28 loc) · 1.12 KB
/
AuthenticationConfiguration.cs
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
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Iot.Device.Card.Ultralight
{
/// <summary>
/// Contains the Authentication Configuration elements
/// </summary>
public class AuthenticationConfiguration
{
/// <summary>
/// Is Read Write Authentication Required
/// </summary>
public bool IsReadWriteAuthenticationRequired { get; set; }
/// <summary>
/// Gets or sets the authentication page requirement
/// </summary>
/// <remarks>If the page is higher than the capacity, it means no authentication required.</remarks>
public byte AuthenticationPageRequirement { get; set; }
/// <summary>
/// Is user configuration permanently locked against write access, except PWD and PACK
/// </summary>
public bool IsWritingLocked { get; set; }
/// <summary>
/// Maximum number of possible try, 0 = disabled, 1 to 7 enabled
/// </summary>
public byte MaximumNumberOfPossibleTries { get; set; }
}
}