Reference Library
OldAuth Class
NamespacesMBNCSUtilOldAuth
Calculates hash values for data using the old login-system checks.
Declaration Syntax
C#Visual BasicVisual C++
[ComVisibleAttribute(false)]
public sealed class OldAuth
<ComVisibleAttribute(False)> _
Public NotInheritable Class OldAuth
[ComVisibleAttribute(false)]
public ref class OldAuth sealed
Members
All MembersMethods



IconMemberDescription
DoubleHashData(array<Byte>[]()[][], Int32, Int32)
Calculates the double-pass "broken" SHA-1 hash of the specified data.

DoubleHashData(array<Byte>[]()[][], UInt32, UInt32)
Calculates the double-pass "broken" SHA-1 hash of the specified data. This method is not CLS-compliant.

DoubleHashPassword(String, Int32, Int32)
Calculates the double-pass "broken" SHA-1 hash of the specified password using ASCII encoding.

DoubleHashPassword(String, UInt32, UInt32)
Calculates the double-pass "broken" SHA-1 hash of the specified password using ASCII encoding. This method is not CLS-compliant.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
HashData(array<Byte>[]()[][])
Calculates the single "broken" SHA-1 hash of the specified data.

HashPassword(String)
Calculates the single "broken" SHA-1 hash of the specified password using ASCII encoding.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Remarks
This method of logon would be used in down-level clients using the SID_CLIENTID, SID_CLIENTID2, or SID_AUTH_INFO messages specifying the login style 0 (Old login system).
Thread Safety
This type is safe for multithreaded operations.
Inheritance Hierarchy
Object
OldAuth

Assembly: Asgard5Library (Module: Asgard5Library)