Click or drag to resize
Hash Class
Describes a hashed password in the configuration.
Inheritance Hierarchy
SystemObject
  VirtualRadar.Interface.SettingsHash

Namespace: VirtualRadar.Interface.Settings
Assembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class Hash

The Hash type exposes the following members.

Constructors
  NameDescription
Public methodHash
Creates a new object.
Public methodHash(Int32)
Creates a new object.
Public methodHash(String)
Creates a new object.
Public methodHash(Int32, String)
Creates a new object.
Top
Properties
  NameDescription
Public propertyBuffer
Gets the hash of the password. Callers can set this list to be the full byte sequence of the hash or read the hash from here.
Public propertyVersion
Gets or sets the version of the hashing algorithm used to produce Buffer.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPasswordMatches
Returns true if the text passed across hashes into the same byte sequence held within Buffer.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberLatestVersion
The version of the hashing algorithm used. If a new algorithm is implemented support should remain for hashes in older algorithms.
Top
Remarks
Passwords are not stored in the configuration file - instead the code hashes them and stores the hash. When considering whether the password matches it hashes the attempted password and then compares hashes.
See Also