Exemplo n.º 1
0
 /// <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);
 }
Exemplo n.º 2
0
 /// <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);
 }