Class Card
Allows a user to authenticate using a magstripe card.
Implements
System.IEquatable<Card>
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 Card : AuthenticationMethod, IEquatable<Card>
Constructors
Card(String)
Creates a magstripe card.
Declaration
public Card(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | The identification string on the magnetic stripe of this card. |
Fields
Id
The identification string on the magnetic stripe of a card.
Declaration
public readonly string Id
Field Value
Type | Description |
---|---|
System.String |
Methods
Equals(Card)
Declaration
public bool Equals(Card other)
Parameters
Type | Name | Description |
---|---|---|
Card | 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>