/// <summary> /// Request file sources via UDP from server. /// </summary> /// <param name="hashes">Array of file hashes.</param> public void RequestSourcesUDP(ArrayList hashes) { MemoryStream buffer = new MemoryStream(); CServerAskSourcesUDP PedirFuentesUDP = new CServerAskSourcesUDP(hashes, buffer); m_SendPacketUDP(buffer); }
/// <summary> /// Request file sources via UDP from server. /// </summary> /// <param name="FileHash">Hash of the file.</param> public void RequestSourcesUDP(byte[] FileHash) { MemoryStream buffer = new MemoryStream(); CServerAskSourcesUDP PedirFuentesUDP = new CServerAskSourcesUDP(FileHash, buffer); m_SendPacketUDP(buffer); }
/// <summary> /// Request file sources via UDP from server. /// </summary> /// <param name="hashes">Array of file hashes.</param> public void RequestSourcesUDP(ArrayList hashes) { MemoryStream buffer=new MemoryStream(); CServerAskSourcesUDP PedirFuentesUDP=new CServerAskSourcesUDP(hashes,buffer); m_SendPacketUDP(buffer); }
/// <summary> /// Request file sources via UDP from server. /// </summary> /// <param name="FileHash">Hash of the file.</param> public void RequestSourcesUDP(byte[] FileHash) { MemoryStream buffer=new MemoryStream(); CServerAskSourcesUDP PedirFuentesUDP=new CServerAskSourcesUDP(FileHash,buffer); m_SendPacketUDP(buffer); }