Class InfoHash
Inheritance
System.Object
InfoHash
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: MonoTorrent.dll
Syntax
public class InfoHash : IEquatable<InfoHash>
Constructors
InfoHash(Byte[])
Declaration
public InfoHash(byte[] infoHash)
Parameters
| Type |
Name |
Description |
| System.Byte[] |
infoHash |
|
Methods
Equals(InfoHash)
Declaration
public bool Equals(InfoHash other)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Equals(Byte[])
Declaration
public bool Equals(byte[] other)
Parameters
| Type |
Name |
Description |
| System.Byte[] |
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
System.Object.Equals(System.Object)
FromBase32(String)
Declaration
public static InfoHash FromBase32(string infoHash)
Parameters
| Type |
Name |
Description |
| System.String |
infoHash |
|
Returns
FromHex(String)
Declaration
public static InfoHash FromHex(string infoHash)
Parameters
| Type |
Name |
Description |
| System.String |
infoHash |
|
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| System.Int32 |
|
Overrides
System.Object.GetHashCode()
ToArray()
Declaration
Returns
| Type |
Description |
| System.Byte[] |
|
ToHex()
Declaration
Returns
| Type |
Description |
| System.String |
|
UrlDecode(String)
Declaration
public static InfoHash UrlDecode(string infoHash)
Parameters
| Type |
Name |
Description |
| System.String |
infoHash |
|
Returns
UrlEncode()
Declaration
public string UrlEncode()
Returns
| Type |
Description |
| System.String |
|
Operators
Equality(InfoHash, InfoHash)
Declaration
public static bool operator ==(InfoHash left, InfoHash right)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Inequality(InfoHash, InfoHash)
Declaration
public static bool operator !=(InfoHash left, InfoHash right)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Implements
System.IEquatable<T>