Ed2kFilelink Class

Represents an eD2K file link.

An eD2k link (ed2k://) is a hyperlink used to locate files within the peer-to-peer eDonkey network. This type of link uniquely refers to a file, and can be shared through programs capable of connecting to the eDonkey network, such as eMule, aMule, Shareaza or MLDonkey among others.

Definition

Namespace: DevCase.Core.Networking.Peer2Peer
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public class Ed2kFilelink
Inheritance
Object    Ed2kFilelink

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

Constructors

Ed2kFilelink Initializes a new instance of the Ed2kFilelink class.

Properties

FileHash Gets the MD4 file hash.

For every file shared in the eDonkey network an unique identification value is created using the MD4 algorithm. This value is called file hash and is contained in every standard eD2k link.

FileName Gets the file name.
FileSize Gets the file size.
HashSet Gets the MD4 hash set.

A hash set ensure that this file is always correct and helps spreading new and rare files.

HttpSources Gets the known http sources to the link, providing instant website sources for the download.
RootHash Gets the MD4 root hash.

The Root Hash allows advanced error correction and check methods by supplying a trusted value for AICH (Intelligent Corruption Handling).

Sources Gets the known eMule sources to the link, in the format [IP:port] or [hostname:port], providing instant sources for the download.

Methods

Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
IsValidLink Determine whether the specified eD2K link has a valid syntax.
ToString Returns a String that represents this Ed2kFilelink.
(Overrides ObjectToString)

Extension Methods

CanConvertTo Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
CanConvertToT Determines whether the source object can be converted to the specified target type.
(Defined by ObjectExtensions)
ConvertToT Converts an object to the specified target type.

If the conversion fails, an exception is thrown.
(Defined by ObjectExtensions)

ConvertToT Converts an object to the specified target type.

If the conversion fails, returns the specified default value.
(Defined by ObjectExtensions)

IsDisposable Determines whether the specified object is a disposable type (i.e., it implements IDisposable interface).
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
Speak Speaks the string representation of the source object by using the operating system integrated text-to-speech synthesizer.
(Defined by ObjectExtensions)
ThrowIfNullTException Throws the specified exception if the source object is null.
(Defined by ObjectExtensions)

See Also