Class Pin
Allows a user to authenticate using a PIN.
Implements
System.IEquatable<Pin>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: BuzzLockGui.Backend
Assembly: BuzzLockGui.dll
Syntax
public class Pin : AuthenticationMethod, IEquatable<Pin>
Constructors
Pin(String)
Creates a PIN.
Declaration
public Pin(string pin)
Parameters
Type | Name | Description |
---|---|---|
System.String | pin |
Fields
PinValue
The PIN itself.
Declaration
public readonly string PinValue
Field Value
Type | Description |
---|---|
System.String |
Methods
Equals(Pin)
Declaration
public bool Equals(Pin other)
Parameters
Type | Name | Description |
---|---|---|
Pin | other |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Implements
System.IEquatable<T>